[JIRA] Created: (HUDSON-8407) Test Result Trend graph shows previous test result if tests are not executed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-8407) Test Result Trend graph shows previous test result if tests are not executed

Kohsuke Kawaguchi
Administrator
Test Result Trend graph shows previous test result if tests are not executed
----------------------------------------------------------------------------

                 Key: HUDSON-8407
                 URL: http://issues.hudson-ci.org/browse/HUDSON-8407
             Project: Hudson
          Issue Type: Bug
          Components: xunit
         Environment: A Maven 2 job with JUnit tests on Hudson 1.392 with xunit plugin 1.13 in tomcat6 on ubuntu 10.4
            Reporter: hok
            Assignee: gbois


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.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira