RT-PCR is the most widely used test for diagnosing COVID-19.