Everyone at risk for COPD who has cough, sputum production, or shortness of breath, should be tested for the disease. The test for COPD is called spirometry. Spirometry can detect COPD before symptoms become severe. It is a simple, non-invasive breathing test that measures the amount of air a person can blow out of the lungs (volume) and how fast he or she can blow it out (flow).