Drug Tests A drug test is a technical analysis of a biological specimen, for example urine, to determine the presence or absence of specified parent drugs or their metabolites. A drug test may also refer to a test that provides quantitative chemical analysis of an illegal drug, typically intended to help with responsible drug use.