Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28471

xUnit should compare test results to last build with recorded tests for the "new" thresholds

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      jenkins 1.594
      xunit 1.94
    • Similar Issues:

      Description

      My xunit configuration is set to report a build as failure if more than 10 tests fail total, or if there is at least 1 new failing test.

      This "1 new failing test" only works OK as long as we have no compilation failures and/or aborted builds. If we have a build with no recorded test results, the previous amount of failing tests is always 0. I think it should be compared to the amount of failing tests in the previous build with recorded test results.

        Attachments

          Activity

          Hide
          nfalco Nikolas Falco added a comment -

          PR merged.

          Show
          nfalco Nikolas Falco added a comment - PR merged.
          Show
          jimilian Alexander A added a comment - https://github.com/jenkinsci/xunit-plugin/pull/47

            People

            • Assignee:
              nfalco Nikolas Falco
              Reporter:
              pjaytycy Pieter-Jan Busschaert
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: