Michael Osipov created SUREFIRE-2248:
----------------------------------------
Summary: Make "type" attribute on failures and errors in
surefire-test-report schema optional
Key: SUREFIRE-2248
URL: https://issues.apache.org/jira/browse/SUREFIRE-2248
Project: Maven Surefire
Issue Type: Improvement
Components: Maven Surefire Plugin
Affects Versions: 3.2.5
Reporter: Michael Osipov
Assignee: Michael Osipov
Fix For: 3.3.0
There are situations where a stack trace is not always available, in fact, the
code path {{StatelessXmlReporter}} is structured in a way that it can lead to
an empty/missing {{type}} from a stack trace. This would require to write a
blank or a bogus value to satisfy the schema. This does not make sense. We
should make this optional to better accommodate reality. See SUREFIRE-2232 for
details.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)