Giardia is diagnosed through a stool test, where a sample is examined under a microscope for the presence of Giardia parasites. Alternatively, a more sensitive test, known as a faecal antigen test, may be used to detect proteins produced by the parasite.