Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unit testing

 
sam liya
Ranch Hand
Posts: 1240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me how to write unit testing for Spring?
 
R. Duval
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly you wanna do? Write unit tests using context beans? If so, there are plenty of Spring test cases classes to inherit from. Or you can load the context directly and retrieve the beans you need on your setUp.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic