[ 
https://issues.apache.org/jira/browse/SUREFIRE-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SUREFIRE-2230:
-------------------------------------
    Description: 
Because of (bad/legacy) design choices both schemas 
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
 make both elements {{failure}} and {{error}} simple where the stack trace is 
not a nested element, but the body of those elements. This is inconsistent with 
other elements. With the next major version of Surefire this shall be changed 
to complex elements with a nested {{stackTrace}} elements.

This is the outcome of SUREFIRE-2229.

  was:
Because of (bad) design choices both schemas 
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
 make both elements {{failure}} and {{error}} simple where the stack trace is 
not a nested element, but the body of those elements. This is inconsistent with 
other elements. With the next major version of Surefire this shall be changed 
to complex elements with a nested {{stackTrace}} elements.

This is the outcome of SUREFIRE-2229.


> Make failure and error element in XML test report schemas complex instead of 
> simple
> -----------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-2230
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2230
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Maven Surefire Report Plugin, xml generation
>    Affects Versions: 3.2.3
>            Reporter: Michael Osipov
>            Priority: Major
>             Fix For: Backlog
>
>
> Because of (bad/legacy) design choices both schemas 
> 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
>  make both elements {{failure}} and {{error}} simple where the stack trace is 
> not a nested element, but the body of those elements. This is inconsistent 
> with other elements. With the next major version of Surefire this shall be 
> changed to complex elements with a nested {{stackTrace}} elements.
> This is the outcome of SUREFIRE-2229.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to