Test As You Go
Combining testing with version control only works if you're continually writing tests.
- If all the little pieces work, there'll be less pain putting them together
- Best tests come when the problem is fresh in your mind
- If you don't like testing, best to do it in small doses
- Avoid the big, dull testing swamp at the end
- You won't be tempted to skimp on testing at the end of the project
- The code is always at high quality
- Good for project visibility, no bug hunt at the end
- Means you can make partial releases (incremental development)
- Ferret out design problems early
- Keeps your code testable and well formed
Prev | toc | Next