Articles in the JUnit Category
JUnit »
Unit testing is now a days an integrated part of any development process. It saves considerable effort when we write repeatable unit test classes, instead of relying on manual unit testing. JUnit can be called leader in Java unit testing. This framework provides many commonly needed features, which make unit testing really effortless. JUnit also provides feature of grouping test cases as a test suite. Test cases can be grouped logically, functionally and even according to purpose of group – regression test, sanity test, smoke test etc.
We would also need …
JUnit, Tech Notes »
Test driven development, automated testing, open source unit testing frameworks, mocking test data, etc. etc. have been buzzing around us for past few years. Most of the Java developers must have used JUnit to write unit test cases at least once. Below are some of the points that I found important while writing JUnit test cases in application development. You can call these as tips, best practices, or whatever you like.
Externalize Data: Move test data out of test classes. You can have helper classes …
