Pulmonary function test: A test that is designed to measure how well the lungs are working. Abbreviated PFT. PFTs gauge how the lungs are expanding and contracting (when a person inhales and exhales) and measure the efficiency of the exchange of oxygen and carbon dioxide between the blood and the air within the lungs.