next up previous
Next: Dbunit testing Up: Test categories Previous: Test categories

JUnit testing

To make our product more reliable, and to decrease the debugging cost during development we decided to make use of JUnit framework. JUnit allows developer to describe simple tests that have to be passed by stable version of software.
These tests are similar to the ones that every developer makes in his code during debugging, but what makes JUnit a very useful and time-saving tool is that once tests are described they can be repeated automatically after every change to the code without any effort from the developer. This is the most important thing about JUnit tests, and because it helps to discover bugs almost at the time of their creation - this is the time-saving power of JUnit.

Wiktor Kolodziej 2006-01-12