If I have two tests case classes to be run I get this error:
[testng] Failed to invoke @Configuration method com.echostorm.adlib.advis.persistence.beans.crud.test.EJB3IntegrationTest.beforeTestMethod:null
[testng] PASSED: withoutEJBContainer
[testng] PASSED: withEJBContainer
If I run either test by itself, by defining it and only it in the testsuite-integration-ejb3.xml file, then it will work. However, when
they are both defined:
<test name="Integration JPA">
<groups>
<run><include name="integration-persistence.*"/></run>
</groups>
<classes>
<class name="com.echostorm.adlib.advis.persistence.beans.crud.test.basic.AudioProfileTest"/>
<class name="com.echostorm.adlib.advis.persistence.beans.crud.test.basic.VideoProfileTest"/>
</classes>
</test>
The 2nd one always fails.
Any suggestions?
Vince
|