background image
<< Passing Tests Should PASS | It'll Never Work >>
<< Passing Tests Should PASS | It'll Never Work >>
Failure Is An Option
Failure Is An Option
There are three varieties of test failure, and several solutions.
A failure indicating a mistake/bad assumption in the test suite.
Ë
You fix it.
A real failure indicating a bug or missing feature.
Ë
You fix it, or...
Ë
You put off fixing it and...
Ë
comment out the test (blech) or...
Ë
declare it "TODO"
A failure due to an assumption about the environment.
Ë
You can't fix it, so you "skip" it.