But the extreme programming slogan is actually the more reasonable “write the tests first.” That is, before writing the “job” code (for want of a better term), you would first write a test suite.