Hi all -
We're using Spring bean autowiring during the regular execution of our app. 
I believe this is a feature of the ContextLoaderListener which is specified
in the web.xml.  That works great.

In unit testing however, autowiring is not automatically enabled.  Our
Spring contexts are getting picked up from the classpath however, same as
always.  

Does anyone know how I can enable autowiring for unit testing?  Seems like a
configuration to the context currently being used by the unit tester, but to
be honest I have not yet figured out how the unit testing mojo is
configured.  Thanks for any pointers.

Kent


-- 
View this message in context: 
http://www.nabble.com/Spring-Autowiring-during-Unit-testing-tp23553006s2369p23553006.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to