Hi All.
I'm looking to introduce some injection into my current works Test Suite. They run
their apps under JBoss so I thought Microcontainer would be the best fit for them.
I was having a look at MicrocontainerTest and MicrocontainerTestDelegate but I'm not
too sure what their envisaged usage is.
What I'm looking to do is inject beans into integration tests, things like Datasources
etc. I'm from a Spring background and in the past I would have extended
AbstractDependencyInjectionSpringContextTests which would inject beans from the supplied
contexts into the tests.
Does Microcontainer offer something similar? If not could someone point me in the
direction of an example or the like to show me how Injection into Tests is achieved with
Microcontainer?
Thanks for your help.
Nick.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087121#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...