Back in the day I used to say this about test-driven development: If ever I get a surprise, it means I have a missing test. That is, if I'm in the GREEN or REFACTOR step of the TDD cycle and my changes make something else break unexpectedly, I need to add a test to document something that I must have missed previously.
Surprises
Surprises
Surprises
Back in the day I used to say this about test-driven development: If ever I get a surprise, it means I have a missing test. That is, if I'm in the GREEN or REFACTOR step of the TDD cycle and my changes make something else break unexpectedly, I need to add a test to document something that I must have missed previously.