You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/01/03 14:38:00 UTC

[jira] [Commented] (SUREFIRE-2230) Make failure and error element in XML test report schemas complex instead of simple

    [ https://issues.apache.org/jira/browse/SUREFIRE-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17802203#comment-17802203 ] 

Michael Osipov commented on SUREFIRE-2230:
------------------------------------------

[~marcphilipp]

> 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) 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)