Thansk, Mark, but this doesn't address getting OWB and OpenEJB to work together in a unit test environment. The OWB integration tests in the OpenEJB source build all the bean contexts "by hand" which is just not realistic for general unit testing.
Without using any CDI functionality OpenEJB works great for unit tests and is very easy to set up. Same thing for CDI tests without any EJB capabilities. But try to use them together and it looks like the OWB scanner never gets invoked and you get UnsatisfiedResolutionExceptions. I have a few minimal examples that all do the same thing: the OpenEJB-only and OWB-only versions work, the one that tries to combine them doesn't. If someone wants to look at them I'll send them along. I'm sure I can't be the only person who would like to be able to use these two together in simple unit tests! If there really is some magic that will make this work I'd be happy to put together some examples.-- View this message in context: http://openejb.979440.n4.nabble.com/Using-OpenWebBeans-CDI-with-Junit-tp3000191p3486172.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
