You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2006/03/29 02:32:44 UTC

[jira] Closed: (MPJUNITREPORT-9) Report displays wrong results when failed tests have underscores in names

     [ http://jira.codehaus.org/browse/MPJUNITREPORT-9?page=all ]
     
Lukas Theussl closed MPJUNITREPORT-9:
-------------------------------------

     Assign To: Lukas Theussl
    Resolution: Cannot Reproduce

> Report displays wrong results when failed tests have underscores in names
> -------------------------------------------------------------------------
>
>          Key: MPJUNITREPORT-9
>          URL: http://jira.codehaus.org/browse/MPJUNITREPORT-9
>      Project: maven-junitreport-plugin
>         Type: Bug

>  Environment: Java 1.4
> Maven 1.0
>     Reporter: Juergen Baier
>     Assignee: Lukas Theussl
>     Priority: Critical

>
>
> I have some test classes which have underscores in their names:
> package mypackage;
> public class MyTest extends TestCase {
>     public test_bug123() { ...}
>     public testOther() { ... }
> }
> If the test_bug123 fails then it appears as follows:
> [Summary]
> Tests 1 Failures 1
> [Package List]
> mypackage 
> MyTest: Failures: 1
> <clicking on "MyTest">
> MyTest
> testOther OK
> This means in the section where all tests for a specific class are listed the failed test (with the underscore in the name) is not displayed at all.
> I'd consider this as a serious bug because the report seems to indicate that all tests did run correctly (developers are just wondering why the report displays a failed test in the [Summary] section when in fact no test failed.

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