It's not a secret anymore!*
The moose likes Spring and the fly likes Spring and Integration Testing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring and Integration Testing" Watch "Spring and Integration Testing" New topic

Spring and Integration Testing

Joel Ewest

Joined: Oct 19, 2006
Posts: 5
I have heard that using the Spring Framework helps you set up reusable unit testing and more specifically integration tests. What is it about Spring that makes configuring testing easier/better?

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902

Spring has great support for integration testing (I won't say "unit" testing as for me *unit* tests are plain vanilla tests agnostic of any framework).

The best resource is Spring doc itself, please look here:

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Joel Ewest

Joined: Oct 19, 2006
Posts: 5
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Spring and Integration Testing
Similar Threads
System Testing Vs Integration Testing
Automatic Mocking with Spring framework
[Spring Web Flow 2] Spring Web Flow 2 comes with direct support of Tests
annotations override xml
Pro Spring Integration - Is testing covered?