The Four Stages of Testing That Help Your Focus
August 04, 2022
When writing tests, it’s useful to consider that the tests are always in one of four distinct stages, and knowing which stage they are in can direct your next steps. This can make testing a bit less painful than it might otherwise be.
The four stages are:
- The code doesn’t compile/build/parse
- The tests produce an error (as opposed to a failure)
- The tests are failing
- The tests are passing