Diagnosis of cryptosporidiosis typically involves stool samples analyzed for the presence of Cryptosporidium oocysts. Laboratory techniques include microscopy, acid-fast staining, and more advanced methods like PCR (polymerase chain reaction), which can detect the parasite's DNA.