https://bz.apache.org/bugzilla/show_bug.cgi?id=64836
Bug ID: 64836
Summary: junitlaucher poor summary
Product: Ant
Version: 1.10.9
Hardware: PC
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Optional Tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The summary of a junitlaucher task looks like this:
[junitlauncher]
[junitlauncher] Test run finished after 5103 ms
[junitlauncher] [ 2 containers found ]
[junitlauncher] [ 0 containers skipped ]
[junitlauncher] [ 2 containers started ]
[junitlauncher] [ 0 containers aborted ]
[junitlauncher] [ 2 containers successful ]
[junitlauncher] [ 0 containers failed ]
[junitlauncher] [ 1 tests found ]
[junitlauncher] [ 0 tests skipped ]
[junitlauncher] [ 1 tests started ]
[junitlauncher] [ 0 tests aborted ]
[junitlauncher] [ 1 tests successful ]
[junitlauncher] [ 0 tests failed ]
[junitlauncher]
[junitlauncher]
[junitlauncher] Test run finished after 99 ms
[junitlauncher] [ 2 containers found ]
[junitlauncher] [ 0 containers skipped ]
[junitlauncher] [ 2 containers started ]
[junitlauncher] [ 0 containers aborted ]
[junitlauncher] [ 2 containers successful ]
[junitlauncher] [ 0 containers failed ]
[junitlauncher] [ 6 tests found ]
[junitlauncher] [ 3 tests skipped ]
[junitlauncher] [ 3 tests started ]
[junitlauncher] [ 0 tests aborted ]
[junitlauncher] [ 3 tests successful ]
[junitlauncher] [ 0 tests failed ]
[junitlauncher]
(...)
Which is pretty useless if the classes containing the tests aren't shown.
This is how I'm running the task:
<junitlauncher haltOnFailure="false" printSummary="true"
failureProperty="junit.fail">
<classpath refid="build.classpath" />
<testclasses outputdir="${junit.results}">
<fileset dir="${build.dir}">
<include name="**/*Test.class" />
</fileset>
<fork>
<jvmarg value="-Xmx1024m" />
<syspropertyset refid="junit.system.properties" />
</fork>
<listener type="legacy-xml" sendSysOut="true" sendSysErr="true" />
<listener type="legacy-plain" sendSysOut="true" sendSysErr="true" />
</testclasses>
</junitlauncher>
Can this information be added or am I missing something?
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.