spirometry
A test of lung function using a spirometer, a device that measures the volume of air that moves in and out of the lungs.