The coronavirus disease 2019 (COVID-19) pandemic is caused by the severe acute respiratory syndrome coronavirus-2, a new member of the Coronavirus family. The virus was first identified in Wuhan, China, where the epidemic originated. The viral genome was sequenced and a real time reverse transcription polymerase chain reaction assay was developed and used for the detection of virus. Different countries took different approaches for the diagnosis of COVID-19. Some countries prioritized extensive testing for COVID-19 at a very early phase of the pandemic whereas other countries took a long time to build the testing capacity and to implement the testing extensively. The assay design formats were available in the public domain and thereby allowing researchers to replicate them to make diagnostic kits. Consequently, several antigen or antibody-based diagnostic tests were also developed for the diagnosis of COVID-19. However, there were some validation and regulatory challenges while bringing these assays into the market. During the course of the pandemic, it became clear that the countries which implemented testing at an early stage of the pandemic were capable of controlling the spread more effectively than those that implemented them at later stages. As several countries implemented a lockdown for controlling the spread of the virus, it is critical to build the testing capability to meet the extensive need of testing while exiting the lockdown. Testing and isolation of positive cases are the most effective ways of preventing the spread of virus and gradually returning life back to normality.