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

Add the ability for robot plugin graph to show only failed tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: robot-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      The robot plugin's trend graph is a great way to show test status over time.

      However, over time the number of tests in our projects overall grow, and we keep on top of the number of failures, so the number of tests is fairly high now (around 9000) and the number of failures at any point is quite low (between 5 to 30), so the trend graph doesn't give us much indication of the number of failures compared to previous points in time (we just see a green graph). It would help us a lot to be able to see a trend graph which was filtered for just failed tests.

        Attachments

          Activity

          Hide
          jussi_malinen Jussi Malinen added a comment -

          Have you tried to "zoom to changes"? That should highlight the most significant changes.

          The main results view has currently unfortunately a broken "zoom to changes" and "show full graph" links, but the upcoming version should fix that.

          Show
          jussi_malinen Jussi Malinen added a comment - Have you tried to "zoom to changes"? That should highlight the most significant changes. The main results view has currently unfortunately a broken "zoom to changes" and "show full graph" links, but the upcoming version should fix that.
          Hide
          ninian Ninian added a comment -

          Thanks, yes we've used the zoomed graph. The point though is that the changes show largely the number of tests added, which dwarf the 'interesting' results which are the failures.

          Show
          ninian Ninian added a comment - Thanks, yes we've used the zoomed graph. The point though is that the changes show largely the number of tests added, which dwarf the 'interesting' results which are the failures.
          Hide
          jussi_malinen Jussi Malinen added a comment -

          Okay, I see your point. The next version will have a "zoom to changes" checkbox. There could be another "show only errors" or something like that... Unless someone is asking this from inside Nokia, it might take a while for us to implement. We are happy to take pull requests though!

          Show
          jussi_malinen Jussi Malinen added a comment - Okay, I see your point. The next version will have a "zoom to changes" checkbox. There could be another "show only errors" or something like that... Unless someone is asking this from inside Nokia, it might take a while for us to implement. We are happy to take pull requests though!
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ninian
          Path:
          src/main/java/hudson/plugins/robot/AggregatedRobotAction.java
          src/main/java/hudson/plugins/robot/RobotBuildAction.java
          src/main/java/hudson/plugins/robot/RobotProjectAction.java
          src/main/java/hudson/plugins/robot/graph/RobotGraphHelper.java
          src/main/java/hudson/plugins/robot/model/RobotCaseResult.java
          src/main/java/hudson/plugins/robot/model/RobotTestObject.java
          src/main/resources/hudson/plugins/robot/AggregatedRobotAction/index.jelly
          src/main/resources/hudson/plugins/robot/RobotProjectAction/floatingBox.jelly
          src/main/resources/hudson/plugins/robot/model/RobotResult/index.jelly
          src/main/resources/hudson/plugins/robot/model/RobotSuiteResult/index.jelly
          src/main/webapp/robot.js
          http://jenkins-ci.org/commit/robot-plugin/53aaf219082df14b858facdef0f2e197485d5098
          Log:
          JENKINS-24868: Add the ability for robot plugin graph to show only
          failed tests

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ninian Path: src/main/java/hudson/plugins/robot/AggregatedRobotAction.java src/main/java/hudson/plugins/robot/RobotBuildAction.java src/main/java/hudson/plugins/robot/RobotProjectAction.java src/main/java/hudson/plugins/robot/graph/RobotGraphHelper.java src/main/java/hudson/plugins/robot/model/RobotCaseResult.java src/main/java/hudson/plugins/robot/model/RobotTestObject.java src/main/resources/hudson/plugins/robot/AggregatedRobotAction/index.jelly src/main/resources/hudson/plugins/robot/RobotProjectAction/floatingBox.jelly src/main/resources/hudson/plugins/robot/model/RobotResult/index.jelly src/main/resources/hudson/plugins/robot/model/RobotSuiteResult/index.jelly src/main/webapp/robot.js http://jenkins-ci.org/commit/robot-plugin/53aaf219082df14b858facdef0f2e197485d5098 Log: JENKINS-24868 : Add the ability for robot plugin graph to show only failed tests
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ninian
          Path:
          src/main/java/hudson/plugins/robot/AggregatedRobotAction.java
          src/main/java/hudson/plugins/robot/RobotBuildAction.java
          src/main/java/hudson/plugins/robot/RobotProjectAction.java
          src/main/java/hudson/plugins/robot/graph/RobotGraphHelper.java
          src/main/java/hudson/plugins/robot/model/RobotCaseResult.java
          src/main/java/hudson/plugins/robot/model/RobotTestObject.java
          src/main/resources/hudson/plugins/robot/AggregatedRobotAction/index.jelly
          src/main/resources/hudson/plugins/robot/RobotProjectAction/floatingBox.jelly
          src/main/resources/hudson/plugins/robot/model/RobotResult/index.jelly
          src/main/resources/hudson/plugins/robot/model/RobotSuiteResult/index.jelly
          src/main/webapp/robot.js
          http://jenkins-ci.org/commit/robot-plugin/d29992fd0a45b5e7413530a5eee848361c3da7a2
          Log:
          JENKINS-24868: Rename zoomToChanges to more meaningful name, zoom to
          failures only if we are looking at significant changes and failures
          only, chnage default to be to both passed and failed tests

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ninian Path: src/main/java/hudson/plugins/robot/AggregatedRobotAction.java src/main/java/hudson/plugins/robot/RobotBuildAction.java src/main/java/hudson/plugins/robot/RobotProjectAction.java src/main/java/hudson/plugins/robot/graph/RobotGraphHelper.java src/main/java/hudson/plugins/robot/model/RobotCaseResult.java src/main/java/hudson/plugins/robot/model/RobotTestObject.java src/main/resources/hudson/plugins/robot/AggregatedRobotAction/index.jelly src/main/resources/hudson/plugins/robot/RobotProjectAction/floatingBox.jelly src/main/resources/hudson/plugins/robot/model/RobotResult/index.jelly src/main/resources/hudson/plugins/robot/model/RobotSuiteResult/index.jelly src/main/webapp/robot.js http://jenkins-ci.org/commit/robot-plugin/d29992fd0a45b5e7413530a5eee848361c3da7a2 Log: JENKINS-24868 : Rename zoomToChanges to more meaningful name, zoom to failures only if we are looking at significant changes and failures only, chnage default to be to both passed and failed tests
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jussi Malinen
          Path:
          .gitignore
          src/main/java/hudson/plugins/robot/AggregatedRobotAction.java
          src/main/java/hudson/plugins/robot/RobotBuildAction.java
          src/main/java/hudson/plugins/robot/RobotProjectAction.java
          src/main/java/hudson/plugins/robot/graph/RobotGraphHelper.java
          src/main/java/hudson/plugins/robot/model/RobotCaseResult.java
          src/main/java/hudson/plugins/robot/model/RobotTestObject.java
          src/main/resources/hudson/plugins/robot/AggregatedRobotAction/index.jelly
          src/main/resources/hudson/plugins/robot/RobotProjectAction/floatingBox.jelly
          src/main/resources/hudson/plugins/robot/model/RobotResult/index.jelly
          src/main/resources/hudson/plugins/robot/model/RobotSuiteResult/index.jelly
          src/main/webapp/robot.js
          http://jenkins-ci.org/commit/robot-plugin/894c0db337364ff53d53ff5287c0579bf7112a90
          Log:
          Merge pull request #7 from ninian/master

          JENKINS-24868: Add the ability for robot plugin graph to show only failed tests

          Compare: https://github.com/jenkinsci/robot-plugin/compare/d4858a7b7e3a...894c0db33736

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jussi Malinen Path: .gitignore src/main/java/hudson/plugins/robot/AggregatedRobotAction.java src/main/java/hudson/plugins/robot/RobotBuildAction.java src/main/java/hudson/plugins/robot/RobotProjectAction.java src/main/java/hudson/plugins/robot/graph/RobotGraphHelper.java src/main/java/hudson/plugins/robot/model/RobotCaseResult.java src/main/java/hudson/plugins/robot/model/RobotTestObject.java src/main/resources/hudson/plugins/robot/AggregatedRobotAction/index.jelly src/main/resources/hudson/plugins/robot/RobotProjectAction/floatingBox.jelly src/main/resources/hudson/plugins/robot/model/RobotResult/index.jelly src/main/resources/hudson/plugins/robot/model/RobotSuiteResult/index.jelly src/main/webapp/robot.js http://jenkins-ci.org/commit/robot-plugin/894c0db337364ff53d53ff5287c0579bf7112a90 Log: Merge pull request #7 from ninian/master JENKINS-24868 : Add the ability for robot plugin graph to show only failed tests Compare: https://github.com/jenkinsci/robot-plugin/compare/d4858a7b7e3a...894c0db33736
          Hide
          jussi_malinen Jussi Malinen added a comment -

          Done. Thanks for the implementation!

          Show
          jussi_malinen Jussi Malinen added a comment - Done. Thanks for the implementation!

            People

            • Assignee:
              jussi_malinen Jussi Malinen
              Reporter:
              ninian Ninian
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: