-
1. Re: Seam integration testing offering
javacoryd Aug 26, 2008 8:21 PM (in response to gjeudy)Hello,
We are using Seam 2.0.1 GA on our project and have been very happy with the integration testing in Seam. We have 2500+ tests with 60% of them being integration tests. You are correct when you talk about the classpath being picky. From our experience, you need to have these 3 jars at the top of the classpath (in this order):
hibernate-all.jar
jboss-embedded-all.jar
thirdparty-all.jarAlso, at least with 2.0.1 GA, Seam wants to re-bootstrap the container with each test class. I believe this has been fixed in later releases, but we put in a fix for this in a subclass of SeamTest for this.
Lastly, as more and more Seam components were added we were randomly getting a ConcurrentModificationException in the container. You need to apply a patch from here to the container:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=113365
Cory.
-
2. Re: Seam integration testing offering
gjeudy Aug 26, 2008 9:48 PM (in response to gjeudy)Thanks alot for your reply Cory, I will try your recommendations and let you know the outcome.
-
3. Re: Seam integration testing offering
pmuir Aug 31, 2008 11:52 AM (in response to gjeudy)You could give JSFUnit a try as an alternative to embedded.