[ http://jira.codehaus.org/browse/MSUREFIREREP-26?page=all ]
Bernd updated MSUREFIREREP-26:
------------------------------
Attachment: MSUREFIREREP-26-maven-surefire-plugin.patch
XMLReporter keeps a private list of test result which is never cleared,
attaching a patch that uses .reset() to clear the list. works for me.
> Incoherent data between 'Package List ' and 'Test Cases' items in report
> ------------------------------------------------------------------------
>
> Key: MSUREFIREREP-26
> URL: http://jira.codehaus.org/browse/MSUREFIREREP-26
> Project: Maven 2.x Surefire report Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Reporter: Damien Lecan
> Attachments: MSUREFIREREP-26-maven-surefire-plugin.patch,
> surefire-report.html
>
>
> As it can be seen of the attached file, the ConfigTest has incoherent data
> between items 'Package List ' and 'Test Cases' .
> In 'Package List ' :
> Class Tests Errors Failures Success Rate Time
> ConfigTest 3 0 0 100%
> 0.585
> ConfigTest has just 3 tests.
> But, in 'Test Cases', there are much more than 3 tests (they are duplicated
> from the other tested class ManagerTest !)
> ConfigTest
> testCBEM1 0.039
> testCBEM2 0.001
> testCBEM3 0.001
> testCBEM4 0.001
> testCBEM5 0
> testCBEM6 0
> testCBEM7 0
> testCBEM8 0
> testCBEM9 0
> testCBEM10 0.001
> testCBEM11 0
> testCBEM12 0.001
> testGetBooleanProperty 0.528
> testGetFloatProperty 0.029
> testGetIntProperty 0.012
--
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