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.