Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-2248

Make "type" attribute on failures and errors in (surefire|failsafe)-test-report schema optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.5
    • 3.3.0
    • Maven Surefire Plugin
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: