1 Reply Latest reply on Mar 7, 2008 4:21 PM by Keith Naas

    SeamTest

    Joerg Wi Newbie

      Has anyone used TestNG-Unittests (extending SeamTest) for testing the  Session-/EntityBean Layer successfully outside of a seam-gen generated project ?
      Specifically, do these test also run inside Eclipse or Idea once the correct classpath is configured ?


      If SeamTest needs all the WEB-INF stuff I don't mind, but I only need to test backend-logic...


      Any pointers to documentation about the SeamTest environment is also welcome...

        • 1. Re: SeamTest
          Keith Naas Novice

          Yep, we've done it since Seam 1.2.1.GA.


          Our approach is to put all jars in the EAR and then have all project jars (ejb, web module, common stuff) point to those jars using the Classpath entries in the MANIFEST.MF. 


          It wasn't intentional, but it did make testing easier since we already had access to everything we needed from any eclipse project built into our EAR.