Link Details

Link 106839 thumbnail
User 297894 avatar

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.
  • 15
  • 2
  • 3196
  • 984

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.