The most common test for cystic fibrosis is called the sweat or sweat chloride test to measure the amount of salt in the sweat. Patients with CF have a high amount of salt in their sweat.