[jboss-as7-dev] Testsuite execution

Kabir Khan kabir.khan at jboss.com
Mon May 16 06:04:07 EDT 2011


Sounds good. For 3) something like -DallTests=true vaguely sounds better but I don't know if maven has any equivalent of the horrible ant conditional properties stuff
On 15 May 2011, at 03:16, Brian Stansberry wrote:

> 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
> _______________________________________________
> 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