Since we at Makerspace like to know how things work, I found a paper detailing how government approved diagnostic labs actually test patient samples for the 2019-Novel Coronavirus.
In a nutshell, they use real-time PCR (polymerase chain reaction) to amplify two regions of the viral RNA, plus a control sample of human RNA (to verify the amplification worked). The same machine detects if the RNA was actually amplified.