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

Test Trend Chart should be able to show only the failures

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The test trend chart in the dashboard view is showing both the number of tests and the number of failures. When you have a big number of tests and few failures, the later aren't visible enough while they are what is important.

      The test trend chart in the job can be switched to show a graph of only the failure number. A similar graph in the dashboard view would be more useful to me than the current one.

        Attachments

          Activity

          Hide
          nealeu nealeu added a comment -

          I've found the same problem.

          This could be an option.

          Another useful option on the existing implementation would be to make the vertical axis a logarithmic scale (it would have to be number of log(n+1) so that log of 0 failures is not minus infinity).

          Under these circumstances, 1 test failures out of 1000 would occupy 10% of the vertical scale (log 1000/log (1+1))

          Show
          nealeu nealeu added a comment - I've found the same problem. This could be an option. Another useful option on the existing implementation would be to make the vertical axis a logarithmic scale (it would have to be number of log(n+1) so that log of 0 failures is not minus infinity). Under these circumstances, 1 test failures out of 1000 would occupy 10% of the vertical scale (log 1000/log (1+1))
          Hide
          pgottinger Peter Gottinger added a comment -

          Hi,

          I've just filed a pull request (https://github.com/jenkinsci/dashboard-view-plugin/pull/5) that let you choose, whether you only want successful/failed/skipped or all tests in the test trend chart. So if this change comes into the plugin, this would hopefully solve your problem.

          Best regards,
          Peter

          Show
          pgottinger Peter Gottinger added a comment - Hi, I've just filed a pull request ( https://github.com/jenkinsci/dashboard-view-plugin/pull/5 ) that let you choose, whether you only want successful/failed/skipped or all tests in the test trend chart. So if this change comes into the plugin, this would hopefully solve your problem. Best regards, Peter
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Marco Ambu
          Path:
          pom.xml
          src/main/java/hudson/plugins/view/dashboard/test/TestTrendChart.java
          src/main/resources/hudson/plugins/view/dashboard/test/TestTrendChart/config.jelly
          http://jenkins-ci.org/commit/dashboard-view-plugin/cd1981d8c1efc2c726a2c1c48d9a93c6adbb61f4
          Log:
          Merge pull request #5 from pgottinger/master

          JENKINS-12126 See all/successful/failed/skipped test results in Test Trend Chart

          Compare: https://github.com/jenkinsci/dashboard-view-plugin/compare/e235dfc88ac0...cd1981d8c1ef

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Marco Ambu Path: pom.xml src/main/java/hudson/plugins/view/dashboard/test/TestTrendChart.java src/main/resources/hudson/plugins/view/dashboard/test/TestTrendChart/config.jelly http://jenkins-ci.org/commit/dashboard-view-plugin/cd1981d8c1efc2c726a2c1c48d9a93c6adbb61f4 Log: Merge pull request #5 from pgottinger/master JENKINS-12126 See all/successful/failed/skipped test results in Test Trend Chart Compare: https://github.com/jenkinsci/dashboard-view-plugin/compare/e235dfc88ac0...cd1981d8c1ef
          Hide
          mambu Marco Ambu added a comment -

          Fixed in version 2.3

          Show
          mambu Marco Ambu added a comment - Fixed in version 2.3

            People

            • Assignee:
              mambu Marco Ambu
              Reporter:
              bourguet Jean-Marc Bourguet
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: