The tests used for coronavirus include the antibody test, PCR test and the viral test. The antibody test can determine whether a patient has had an infection, and the viral test can determine whether a patient currently has an infection. This viral test for diagnosis is called the nasal pharyngeal swab. A swab is inserted into the nasal cavity, and then a sample from the swab is tested.