3 Replies Latest reply on Jul 28, 2011 10:57 AM by jmfaerman

    Can I add all classes from my project to the testclass?

    mokelet

      Hi,

       

      I'm a starter and I want to test a middle-size project. In the testclass I inject an EJB which create an account in the Database (JPA, Hibernate). At the beginning, i got much ClassNotFoundExceptions. I add all class, which displayed in the exception at the @Development-part with addClasses. Now I have 25 Classes added. I think, thats not the right way. This Class are directly or indirectly connected with the EJB-class.

       

      Can somebody help or show an example with more than 6 classes?

       

      very bad english i know