[
http://jira.jboss.com/jira/browse/JBSEAM-2371?page=all ]
Jason Grant updated JBSEAM-2371:
--------------------------------
Attachment: jg-seamtest-1.0.tgz
I'm attaching jg-seamtest-1.0.tgz. It represents a self-contained demo of how to use
SeamTest with Java 6, maven 2.0.9, Seam 2.1.0A1, and TestNG 5.8. I've done this by
adapting Hemant's archive as follows:
* The parent pom simply imports org.jboss.seam:root to get all seam dependency versions.
This is a maven 2.0.9 feature, and permits use of libraries like seam whilst inheriting
from something else.
* The source code for EJBs and TestNG tests was taken from the Seam booking demo.
* There is only one ejb module. In the test/resources dir, resides minimal webapp config
that is purely used for testing in the embedded container.
* I've stripped out all unnecessary content (e.g. reporting); I simply wanted to
establish the minimum required to do a SeamTest.
I will post to the forum also, since this may be of wider interest.
Integration testing Seam components with Maven
----------------------------------------------
Key: JBSEAM-2371
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2371
Project: Seam
Issue Type: Task
Components: Test Harness, Build
Affects Versions: 2.0.0.GA
Environment: Maven 2.0.7
Reporter: Siarhei Dudzin
Priority: Critical
Fix For: 2.1.0.BETA1
Attachments: jg-seamtest-1.0.tgz, maven-seam-microcontainer-testng-template.zip,
tech-stack-1.0.1.pom, testproject-master-JBSEAM-2371.zip
Various users have reported integration testing with Seam is not working in
'Mavenized' projects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira