Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.3
-
None
Description
According to https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd and https://maven.apache.org/surefire/maven-failsafe-plugin/xsd/failsafe-test-report.xsd not all nested elements contain stackTrace, system-out and system-err elements, but the code makes it conditional whether there is a stack trace or not. This does not comply with the schema definition. Either the nested element is simple content or complex. In the latter stackTrace is mandatory, even if there is no strack trace according to the schema. The system streams are optional.
Attachments
Issue Links
- causes
-
SUREFIRE-2229 [REGRESSION] SUREFIRE-2224 causes stack trace to be omitted for errors and failures
-
- Closed
-
- links to