Cardiopulmonary exercise testing (CPET) This computerized test provides a breath-by-breath analysis of respiratory gas exchange and cardiac function at rest and during a period of exercise, the intensity of which is increased incrementally until symptoms limit testing.