[seam-commits] Seam SVN: r9573 - trunk/seam-gen/test.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Nov 15 18:18:39 EST 2008


Author: dan.j.allen
Date: 2008-11-15 18:18:39 -0500 (Sat, 15 Nov 2008)
New Revision: 9573

Modified:
   trunk/seam-gen/test/readme.txt
Log:
better details on how to setup tests in Eclipse. Also mention the JDK 6 fix.


Modified: trunk/seam-gen/test/readme.txt
===================================================================
--- trunk/seam-gen/test/readme.txt	2008-11-15 22:33:10 UTC (rev 9572)
+++ trunk/seam-gen/test/readme.txt	2008-11-15 23:18:39 UTC (rev 9573)
@@ -1,9 +1,24 @@
 If you want to run tests using the Eclipse TestNG plugin, you'll need to add
-these jars to the top of your TestNG classpath.  Using the Run Dialog, select
-xml suite to run, and add /lib/test/jboss-embedded-all.jar, 
-/lib/test/hibernate-all.jar, /lib/test/thirdparty-all.jar, /lib/jboss-embedded-api.jar, 
-/lib/jboss-deployers-client-spi.jar, /lib/jboss-deployers-core-spi.jar,  and 
-/bootstrap as the first entries in the User classpath.
+these jars to the top of your TestNG classpath. Using the Run Dialog, select the
+XML suite to run, and select these entries from the project tree:
 
-To add tests to your project create a TestNG xml descriptor called *Test.xml e.g.
-FooTest.xml next to your test classes and run ant test.
\ No newline at end of file
+/lib/test/jboss-embedded-all.jar
+/lib/test/hibernate-all.jar
+/lib/test/thirdparty-all.jar
+/lib/jboss-embedded-api.jar
+/lib/jboss-deployers-client-spi.jar
+/lib/jboss-deployers-core-spi.jar
+
+You also need to add the Embedded JBoss bootstrap folder, which you can do by
+clicking on the Advanced... button.
+
+/bootstrap
+
+Seam uses JBoss Embedded in its unit and integration testing. This has an
+additional requirement when using JDK 6. Add the following VM argument to the VM
+args tab in the TestNG launch configuration for your suite.
+
+-Dsun.lang.ClassLoader.allowArraySyntax=true 
+
+To add tests to your project create a TestNG xml descriptor called *Test.xml
+(e.g. FooTest.xml) next to your test classes and run ant test.




More information about the seam-commits mailing list