[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - Re: testcases overwritten
bstansberry@jboss.com
do-not-reply at jboss.com
Fri Feb 16 09:16:53 EST 2007
The run-junit target takes a param "junit.configuration" which if set will be appended to the report name. All the places in the testsuite where this is called should set a value for this parameter. Places where the tests are executed not via run-junit (see tests-clustering-unit target) should include this kind of stuff in the call to junit:
| <!-- definition of the property for keeping results between configuration -->
| <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
| <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter" usefile="${junit.formatter.usefile}" extension="-${jboss-junit-configuration}.xml" />
|
Here ${jboss.junit.configuration} is passed in by the target that calls this one. If that kind of indirection isn't used (e.g. in tests-security-manager), the use of ${jboss.junit.configuration} could skipped and the value set directly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017630#4017630
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017630
More information about the jboss-dev-forums
mailing list