There are three broad categories of coronavirus tests in the U.S. Two diagnose whether you have an active infection, and a third indicates if you previously had the virus.