[
http://jira.jboss.com/jira/browse/JBSEAM-2371?page=comments#action_12396657 ]
Anne Chou commented on JBSEAM-2371:
-----------------------------------
Removing the jboss embedded jars from the test classpath causes problems if deploying an
EJB for testing. Using Maven 2.0.8 with surefire plugin 2.4 and TestNG 5.6 fails to find
the DataSource at this line of the SeamTest code:
EntityManagerFactory emf =
Persistence.createEntityManagerFactory("test_database");
even though the persistence unit "test_database" is properly defined in
persistence.xml and points to the DefaultDS. (Default bootstrap files
deploy\hsqldb-ds.xml, embedded-jboss-beans.xml, etc. are all in the test classpath)
Integration testing Seam components with Maven
----------------------------------------------
Key: JBSEAM-2371
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2371
Project: JBoss Seam
Issue Type: Task
Affects Versions: 2.0.0.GA
Environment: Maven 2.0.7
Reporter: Siarhei Dudzin
Priority: Critical
Fix For: 2.0.x
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