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...
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.