-
1. Re: testting ear with EJB3
ssilvert Jun 12, 2009 11:43 AM (in response to prj.vandenberg)I think it's possible, but it would take quite a bit of work.
Do you have a WAR inside your EAR? If so, the usual way to set things up is to add JSFUnit to the WAR. You can make your build create the "JSFUnitfied" WAR for testing only.
Stan -
2. Re: testting ear with EJB3
prj.vandenberg Jun 12, 2009 12:20 PM (in response to prj.vandenberg)Thanks for the suggestion. That sounds like a good option. Is there some kind of guide to set it up that way?
-
3. Re: testting ear with EJB3
ssilvert Jun 12, 2009 12:42 PM (in response to prj.vandenberg)There is JSFUnit documentation for Ant and Maven here:
http://www.jboss.org/community/wiki/JSFUnitDocumentation
This is not specific to an EAR, but you should only need to be concerned about the WAR part.
I have a couple of examples using Maven to create an EAR for Seam/RichFaces/JSFUnit. The booking example is the most current. You can download or browse all the JSFUnit source and examples:
http://www.jboss.org/jsfunit/source-repository.html
Stan