Principles of Testing
- Each test case must address one requirement (or a part of it)
- Preparation of test cases should begin a lot earlier than their execution
- Pareto principle: 80% of the errors will involve 20% of the code
- Testing should start from small units and end with the complete system
- Testing is never complete
- Effective testing can only be performed by a third party
- Testing should involve black-box and black-box techniques
- Ideally, testing should automated, so that it can be executed after every software modification
Automated testing using the JUnit framework