A fecal fat test is a diagnostic procedure used to measure the amount of fat in a patient's stool. This test helps to evaluate how well the body is digesting and absorbing fat. It is often used to diagnose conditions such as malabsorption syndromes, chronic pancreatitis, and certain liver diseases.