For diagnosis of whooping cough, your doctor will ask about symptoms and medical history. He or she will usually be able to diagnose whooping cough based on your symptoms but may also take a sample of mucus or saliva from your nose or throat with a swab, which will be sent to a laboratory to be tested.
Attribution: BUPA