https://bz.apache.org/bugzilla/show_bug.cgi?id=69687
Bug ID: 69687
Summary: `legacy-xml` listener does not separate errors from
failures
Product: Ant
Version: 1.10.15
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: Optional Tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The typical consumer of the JUnit XML files produced by the `legacy-xml`
listener expects a differenciation between failures (typically exceptions
extending from `AssertionError`) and errors (all other throwables or problems).
This typical consumer includes your own `junitreport` XSL scripts. They show a
heading for amount of errors, but no digit for the test suite rows, because the
`errors` attribute is missing on the test suites.
Any failure is treated as failure, but all typical consumers I know
differentiate between an expected failure (coming from assertions) and an
unexpected error (all other exceptions.
The `legacy-xml` listener should probably follow suite and also do that
separation that is also expected by the `junitreport` task.
--
You are receiving this mail because:
You are the assignee for the bug.