By HamletDRC
via hamletdarcy.blogspot.com
Published: Dec 19 2008 / 07:26
Spring 2.5 ships with great support for integration testing through the classes in the org.springframework.test package. These classes allow you to dependency inject your test cases off of your existing Spring configuration, either by using your production Spring configuration file or one you've defined especially for the test case. This post explains how to annotate your JUnit 4 test cases to be autowired.



Comments
ct replied ago:
I love Spring, and I love Autowired. Love!
Motion Control replied ago:
I hate Spring, and I especially hate 'Autowired'!
Voters For This Link (13)
Voters Against This Link (1)