Blog Post:
https://blog.ploeh.dk/2018/11/12/what-to-test-and-not-to-test/
The Purpose of Testing
- To exercise the Api and the design. A hard class to test, is a poorly designed interface.
- To prevent regressions.
The Cost of Regressions
Dimensions of the Risk
- The likelihood the event.
- The impact of the event.
To reduce risk, you either decrease the likelihood or the impact of the event.
What is the impact of the error if happens? If it’s a dev app, there is almost zero risk. If it’s a Voyager probes. It could doom the project.
Leave a Reply