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

Possibility to select whether to show test case as passed or failed when there are multiple executions of the same test

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    •  test-results-analyzer-plugin version 0.3.5

      Currently if there are multiple executions of the same test case (same test case class and name in jUnit XML) the test case is shown only once in the analyzer view as FAILED if even one of the executions is failed. In many cases that is ok but in some cases I would like to show it as passed, if even one of the executions is passed.

      My use case for such case is that I run one test case few times because of some lag in the system, which is causing the test to fail. I stop running the test either when I have run it x times, or when it passes, which ever comes first, and I am happy if it passed the last time. For test analysis purposes I am anyhow recording every test case execution to the jUnit XML. Thus, in my case it would also be sufficient solution to be able to configure the plugin to show only the status of the last execution, instead of marking it as passed if the case has passed even once.

            menonvarun Varun Menon
            ssallmen Sami Sallmen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: