[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

jantzen do-not-reply at jboss.com
Wed Dec 13 18:24:25 EST 2006


Thanks for the suggestions. But, are these actually capable of testing EJB3s? 

MockEJB hasn't been updated in two years and I'm doesn't look like it supports dependency injection.  

JUnitEE is also two years out of date and doesn't work with either JUnit 3.8 or 4.1, and doesn't say what versions it is compatible with.  

Cactus also seems behind the curve, supporting only J2EE 1.3, and mentioning only EJB2.  And it's massively overkill for my testing needs.

Hopefully I'm just being dense today, but at this point it's looking like I need to roll my own in-container test runner as a servlet or Service bean.  And out of container testing looks out of the question.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993623#3993623

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993623



More information about the jboss-user mailing list