Here a post I did a long time ago about testing, it misses two years of features (rules were not created, arquillian adapters are now much more powerful but idea are close): http://rmannibucau.wordpress.com/2012/05/03/testing-a-jee-application-with-openejb-and-tomee/ . It globally present the 3 ways (actually 1+1+3) to write tests.
Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-10-22 7:24 GMT+02:00 hwaastad <[email protected]>: > Hi, > I found out that using embeddedcontainer, @classrules and deltaspike > projectstages/@exclude/@alternatives solves all my needs for testing (also > "mocking"). > > br hw > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Unittesting-EJBs-tp4672555p4672561.html > Sent from the TomEE Users mailing list archive at Nabble.com.
