-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: test-results-analyzer-plugin
-
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