A stool test involves the collection and analysis of fecal matter to diagnose the presence or absence of a medical condition. A stool test involves the collection and analysis of fecal matter to diagnose the presence or absence of a medical condition.