22. februari 2012 21:52
Now that we've come to an end you hopefully have a good understanding of how to make your software testable, how to write unit tests, what the best practices are and what TDD is. Unit testing proves itself as a very valuable technique to constantly validate if your software is still working (regression testing) and it enables you to automate a large part of your testing process. However, keep in mind that you should never only focus on unit tests, there are more tests that are important such as usability tests, performance tests, security tests, code reviews, etc. Also keep in mind that a 100% working test suite never means that your software is absolutely bug-free.
If you want to know more about this subject I recommend the books 'The Art Of Unit Testing' by Roy Osherove and 'Test-Driven Development By Example' by Kent Beck.
Any comments can be placed below.