The test is usually requested when a patient exhibits symptoms of a fungal infection, such as fever, cough, difficulty breathing, or skin rash. It may also be requested if a patient has a compromised immune system, as these individuals are at a higher risk of developing fungal infections.