By tejakantamneni
via tejakantamneni.blogspot.com
Published: Aug 26 2008 / 01:42
Unit tests help us make sure that the unit chunks of code being developed are correct. Unit test helps find bugs in the early stages of software development.
Java unit testing frameworks like jUnit, TestNG with some other pretty frameworks like easy mock and easy mock class extensions help us test individual classes with mocking out the external dependent classes/resources and make the tests more "unit".
Spring out of the box supports unit testing with jUnit and TestNG. Spring provides seperate set of classes help you unit test your spring classes.
Spring 2.5 in its org.springframework.test.context package has a set of classes to have better unit testing using jUnit4.
Add your comment
Voters For This Link (15)
-
djo.mos -
rsmaniak -
mswatcher -
martinig -
skaboss -
estromsnes@gmail.com -
Kathleen_Schinkel -
jeremythomas -
trevor -
thinkingserious -
accavdar -
zis -
bloid -
willcode4beer -
tejakantamneni