Skip to content

Fix xUnit compatibility with 3rd party tooling #2978

Closed

Description

@rasjani

Jenkins addon https://wiki.jenkins.io/display/JENKINS/xUnit+Plugin has recently changed their xml schema to be more strict about testsuite attributes.

Previously attribute "skip" was acceptable but in the latest schema verification, support for skip has been dropped and same attribute is now called "skipped".

This bug/issue report is continuation from #2292

Activity

  1. added this to the v3.1 milestone on Oct 10, 2018
  2. pekkaklarck commented on Oct 10, 2018

    @pekkaklarck
    Member

    Based on the discussion in #2292 this change definitely makes sense. Compatibility with 3rd party tools that consume xUnit outputs that are more strict nowadays is very important.

    Changing skip to skipped is obviously backwards-incompatible affecting tools that expect exactly that attribute name, but such tools should be anyway changed to support the current industry standard.

  3. pekkaklarck commented on Oct 10, 2018

    @pekkaklarck
    Member

    Issue #1408 originally introduced the skip attribute. #1801 proposed renaming it to skipped, but back then all tools supported also skip and it was decided not to change it.

  4. added
    acknowledge
    on Oct 12, 2018
  5. pekkaklarck commented on Oct 12, 2018

    @pekkaklarck
    Member

    Fixed by PR #2977. Thanks @rasjani!

  6. added a commit that references this issue on Oct 24, 2018
    6ce7504
  7. added theissue type on Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions