mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Generate unit test reports
So that these can be parsed by Bamboo
This commit is contained in:
parent
2cb3d5a0d4
commit
52a8a835ee
1 changed files with 4 additions and 1 deletions
|
@ -64,6 +64,7 @@
|
||||||
<property name="merge.lib.dir" value="${basedir}/build/merge" />
|
<property name="merge.lib.dir" value="${basedir}/build/merge" />
|
||||||
<property name="test.dir" value="${basedir}/test" />
|
<property name="test.dir" value="${basedir}/test" />
|
||||||
<property name="test-unit.dir" value="${basedir}/test-unit" />
|
<property name="test-unit.dir" value="${basedir}/test-unit" />
|
||||||
|
<property name="test-unit-reports.dir" value="${basedir}/test-reports" />
|
||||||
<property name="resources.dir" value="${basedir}/build/resources" />
|
<property name="resources.dir" value="${basedir}/build/resources" />
|
||||||
<property name="jingle.extension.merge.lib.dir" value="${basedir}/jingle/extension/build/merge" />
|
<property name="jingle.extension.merge.lib.dir" value="${basedir}/jingle/extension/build/merge" />
|
||||||
<property name="jingle.extension.lib.dir" value="${basedir}/jingle/extension/build/lib" />
|
<property name="jingle.extension.lib.dir" value="${basedir}/jingle/extension/build/lib" />
|
||||||
|
@ -459,6 +460,7 @@
|
||||||
<!-- test-unit -->
|
<!-- test-unit -->
|
||||||
<!-- ======================================================================================= -->
|
<!-- ======================================================================================= -->
|
||||||
<target name="test-unit" depends="compile, jar-test, jar-test-smackx" unless="no.test">
|
<target name="test-unit" depends="compile, jar-test, jar-test-smackx" unless="no.test">
|
||||||
|
<mkdir dir="${test-unit-reports.dir}" />
|
||||||
<junit printsummary="on"
|
<junit printsummary="on"
|
||||||
fork="false"
|
fork="false"
|
||||||
haltonfailure="false"
|
haltonfailure="false"
|
||||||
|
@ -489,8 +491,9 @@
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
||||||
<formatter type="brief" usefile="false"/>
|
<formatter type="brief" usefile="false"/>
|
||||||
|
<formatter type="xml" />
|
||||||
|
|
||||||
<batchtest>
|
<batchtest todir="${test-unit-reports.dir}">
|
||||||
<fileset dir="${basedir}/test-unit">
|
<fileset dir="${basedir}/test-unit">
|
||||||
<patternset refid="test.cases" />
|
<patternset refid="test.cases" />
|
||||||
</fileset>
|
</fileset>
|
||||||
|
|
Loading…
Reference in a new issue