In medicine, the fecal fat test is a diagnostic test for fat malabsorption conditions, which lead to excess fat in the feces (steatorrhea).