A spirometry test measures how much air you can breathe in and out of your lungs and how effectively your lungs work. Spirometry tests is used to diagnose asthma, COPD, and other conditions. It may also be performed periodically to give insight into the effectiveness of your treatment protocol.