Chapter 10
Testing First
10.1 The Purpose of Testing
There are several reasons to perform testing:
- Check that requirements/specification has been met.
- Exercise solutions to try to break them.
- Continuously evaluate solutions to ensure we don’t regress.
Each of these can be sub-divided into:
- Functional
- Testing what the code does.
- Non-functional
- Testing how the code does it (such as how fast it performs, the user experience, etc.)