High Quality Content by WIKIPEDIA articles! A diagnostic test is any kind of medical test performed to aid in the diagnosis or detection of disease. For example: to diagnose diseases, to measure the progress or recovery from disease, to confirm that a person is free from disease. A drug test can be a specific medical test to ascertain the presence of a certain drug in the body.