Test results analyzer displays class as FAILED when a testcase is skipped

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Environment:
      Jenkins 1.601
      Test results analyzer 0.2.0

      When a class contains a skipped testcase, the class is displayed as "FAILED" in the tree view.
      I think the class should be displayed as "PASS" as the job (containing the skipped test) status is "success" and not "unstable".
      This can be done by replacing
      setPassed(classResult.isPassed());
      by
      setPassed(classResult.getFailCount()==0);
      in ClassResultData.java and PackageResultData.java

            Assignee:
            Varun Menon
            Reporter:
            Guillaume Blanc
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: