Diagnosis of a yeast infection typically involves a pelvic examination and the collection of a vaginal discharge sample to check for the presence of Candida species. In recurrent or persistent cases, additional testing may be required to rule out other infections or underlying conditions.