C. difficile (C. diff) is diagnosed by carrying out laboratory tests on a sample of the infected person's feces. If a C. diff infection is present, the test will show that there are C. diff toxins in the fecal sample.