Justin Ohms
Jun 20, 2022

--

Honestly I don’t think there is much dispute that this is what it means in practice. I repeatedly coach my Jr devs that these tests are there for them and they should be written at the same time as the code they are testing. I always teach that it’s best to test your testing framework first by writing a simple test and function to test and checking that those pass and fail as expected. Then proceed to write code or tests moving back and forth as seems prudent. Besides the second D in TDD stands for “driven” that doesn’t mean tests necessarily come first. That would be TFD.

--

--

No responses yet