[jboss-as7-dev] Testsuite excludes most tests
Kabir Khan
kabir.khan at jboss.com
Fri Nov 25 13:01:06 EST 2011
This is a problem coming from the full/web split - they need to be run as different surefire executions so that the tests target the appropriate configuration.
Stuart and I have talked about making this more friendly to use
mvn install -Dtest=xx.yy.MyTest
by splitting into further sub modules, one for web and one for full with only one execution in each but that is empty
On 25 Nov 2011, at 17:24, Thomas Diesler wrote:
> Folks,
>
> I believe the recent changes to the testsuite effectively exclude most integration tests. We have
> $ ls testsuite/integration/src/test/java/org/jboss/as/test/integration/
> beanvalidation deployment ejb jaxr jmx jsf messaging pojo sar transaction weld xerces
> common ee jaxb jaxrs jpa management osgi rar security web ws
> The basic integration tests only run these in the first execution
>
> <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>
>
> I suppose later executions would run stuff excluding the above this is never reached (if there are failures above).
>
> Please fix - being able to run the integration tests is important.
>
> BTW, -DallTests is no option because that includes benchmarks, stress, clustering, which I would want only Jenkins to run.
>
> cheers
> -thomas
>
> --
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Thomas Diesler
> JBoss OSGi Lead
> JBoss, a division of Red Hat
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
More information about the jboss-as7-dev
mailing list