background image
<< skipall | TODO Test >>
<< skipall | TODO Test >>
Procrastination Codified
Procrastination Codified
It's good to write the test before you add a new feature.
It's good to write a test as soon as you receive a bug report.
It's bad to release code with failing tests.
This would seem to be a contradiction.
Either you fix all your bugs and add all your features immediately
Or you comment out your failing tests.
Option #3, for the professionally lazy:
Declare your failing tests to be "todo"
This allows one to build a test suite without having to fix all the
bugs you find right away.