[jboss-as7-dev] Testsuite changes

Thomas Diesler thomas.diesler at jboss.com
Fri Nov 25 11:58:59 EST 2011


So how do I actually run most integration tests together

https://github.com/tdiesler/jboss-as/blob/master/testsuite/integration/group-basic/pom.xml

The basic group executes

<includes>
<include>org/jboss/as/test/integration/**/*SecondTestCase.java</include>
<include>org/jboss/as/test/integration/ejb/iiop/**/*TestCase*.java</include>
<include>org/jboss/as/test/integration/ejb/mdb/**/*TestCase*.java</include>
<include>org/jboss/as/test/integration/ejb/entity/cmp/**/*TestCase*.java</include>
<include>org/jboss/as/test/integration/ejb/remote/entity/cmp/**/*TestCase*.java</include>
<include>org/jboss/as/test/integration/ejb/management/deployments/EjbJarInEarRuntimeResourcesTestCase.java</include>
<include>org/jboss/as/test/integration/ejb/management/deployments/EjbJarRuntimeResourcesTestCase.java</include>
<include>org/jboss/as/test/integration/messaging/**/*TestCase*.java</include>
<include>org/jboss/as/test/integration/management/cli/HelpTestCase.java</include>
<include>org/jboss/as/test/integration/management/cli/JmsTestCase.java</include>
</includes> We have however many more [tdiesler at tdvaio jboss-as]$ ls -1 
testsuite/integration/src/test/java/org/jboss/as/test/integration/ 
beanvalidation common deployment ee ejb jaxb jaxr jaxrs jmx jpa jsf 
management messaging osgi pojo rar sar security transaction web weld ws 
xerces
Basically I need to run the OSGi tests together with the ejb, web, etc 
tests -thomas



On 11/25/2011 02:56 PM, Kabir Khan wrote:
> I have pushed Ondrej's work, and here is how to run it for developers (summarized from another mail from a few days ago):
>> mvn clean install
>> ->  runs smoke tests as expected
>> --
>>
>> mvn clean install -DallTests
>> ->  runs all tests as expected
>> --
>>
>> mvn clean install -DallTests=true
>> ->  runs all tests as expected
>> --
>>
>> mvn install -pl testsuite/integration/group-smoke/ -Dtest=org.jboss.as.test.smoke.embedded.demos.client.jms.JmsClientTestCase
>> ->  runs the one test as expected
>> (I did -pl testsute/integration/group-smoke on the assumption that we will be moving to modules)
>> --
>>
>> cd testsuite/integration/group-basic
>> mvn install -Dtest=org.jboss.as.test.integration.deployment.classloading.ear.EarClassPath2TestCase
>> ->  runs the one test as expected
>> --
>>
>> cd testsuite/integration/group-basic
>> mvn install
>> ->  Runs those tests as expected
>> --
> There will be some slight changes coming up, such as moving the test classes into individual modules. They currently all live in testsuite/integration/ and are compiled by the individual sub-modules.
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx



More information about the jboss-as7-dev mailing list