Test of Object-oriented Programs
- slide 33 : 35
Test Driven Development
Test a little. Code a little.
Test driven development
Start by writing the test cases
Initially, all test cases are likely to fail
The test cases serve both as program specification and documentation
Implement the program
The implementation is done when all tests succeed
Refactor the program to improve its quality
Do full regression test in between each modification