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

Test Result Trend graph shows previous test result if tests are not executed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • xunit-plugin
    • None
    • A Maven 2 job with JUnit tests on Hudson 1.392 with xunit plugin 1.13 in tomcat6 on ubuntu 10.4

      The page of a job contains the Test Result Trend as a graph (passed tests green, failed tests red).

      When a build fails before executing JUnit (e.g. because of a compilation error), the graph shows the same test result as for the latest successful build, even though zero tests were executed. Apparently the junit test result is left untouched when a build doesn't proceed to the test phase.

      This is misleading, as the unchanged state in the graph seems to indicate that all is well, even though it isn't.

      IMHO the test result should rather show zero tests instead.

            gbois Gregory Boissinot
            hok hok
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: