[jboss-as7-dev] Testsuite execution
Brian Stansberry
brian.stansberry at redhat.com
Sat May 14 22:16:26 EDT 2011
I'd like to get feedback on changes to the testsuite found in
https://github.com/bstansberry/jboss-as/commit/efe2051753f6b79788d05156784665e02672613c
I'll be adding a bunch of integration tests that launch a domain, but
before pushing those I wanted to ensure they weren't run every time
someone did a build. That led to a general effort to simplify how we can
execute the 3 main build cases -- a standard build with some smoke
tests, a no-test fast build, and a full test run. The above commit
results in the following behavior:
1) By default, all normal modules and testsuite modules will be built
(so test compilation issues introduced by code changes will be caught)
but the only tests that will be executed are:
a) the tests in non-testsuite modules
b) the tests in testsuite/smoke
2) By adding -DskipTests=true, no tests will be executed (although
they'll still compile).
3) By adding -DskipTests=false the integration tests in testsuite2,
testsuite/integration and the webservices module will be enabled. So
that results in a full testsuite run (except for the currently empty
benchmark and stress test modules).
The testsuite2, testsuite/integration and the webservices module also
have testFailureIgnore set to true, which means failures in one of the
many modules will not fail the build, allowing the full set of tests to
run. A test failure in a non-testsuite module or in testsuite/smoke will
fail the build.
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat
More information about the jboss-as7-dev
mailing list