During the test, the patient is required to walk on a treadmill or ride a stationary bicycle and you will measure their lung function in the process. By doing so, you and the physician can adjust the patient's activities of daily living according to the level of fatigue and discomfort experienced during the test..