Not sure how we'd pull it off, but it would be cool to have @EJB injection for test cases. Instead of test cases using JNDI to lookup beans and then test them as we do now, the idea would be that the test case need only have an @EJB annotation on a field.

Something like that would obviously require some deep hooks or a specialized test runner or special test case class, but anyway ... a guy can dream.

-David

Reply via email to