Skip to content

Update JUnit XSD to support additional data #83

Closed

Description

@codito

Current JUnit schema used by JunitXml.TestLogger is several years old. Here are the various formats used today.

  • Jenkins Junit plugin docs are here. JUnit 5 project uses the Jenkins XSD from there.
  • Gitlab JUnit parser (see attached junit example from issue) and CircleCI have added few additional elements to the schema for better reporting (reference). E.g. file in testcase element
  • Testmo provides a comparison of various possibilities in the schema here.

Proposal

Work In Progress. Kindly share your inputs.

Support a Schema logger configuration with one of junit, jenkins. Few differences:

  • jenkins allows non-empty properties node
  • jenkins allows per test case system-out/err messages
  • jenkins may be better suited for attachments support?

TODO: review if there any other differences between both?

Future

If needed, we can extend the ReportFormat=custom add the following capabilities

Related issues

Activity

  1. added
    enhancement
    logger: junit
    on Jun 25, 2024
  2. self-assigned this
    on Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementlogger: junit

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions