History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SUREFIRE-256
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: Damien Lecan
Votes: 7
Watchers: 10
Operations

If you were logged in you would be able to see more operations.
Maven Surefire

Incoherent data between 'Package List ' and 'Test Cases' items in report

Created: 10/Aug/06 10:21 AM   Updated: 23/Nov/07 12:43 AM
Component/s: report plugin
Affects Version/s: 2.0 Report Plugin
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File MSUREFIREREP-26-maven-surefire-plugin.patch (3 kb)
2. Text File MSUREFIREREP-26-maven-surefire-plugin.patch (0.9 kb)
3. HTML File surefire-report.html (9 kb)

Issue Links:
Duplicate

Patch Submitted: Yes


 Description  « Hide
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



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Bernd - 15/Aug/06 02:28 PM
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.

Bernd - 19/Sep/06 05:05 PM
added a test, removed some duplication in the code, replaces last patch

Damien Lecan - 10/Jan/07 03:57 AM
Can this patch be merged into svn ?

Brett Porter - 23/Feb/07 06:37 PM
it appears this was already fixed in 2.3, but we should incorporate the tests in this patch

Bernd - 26/Feb/07 01:36 AM
When working on this issue please also check the links to the duplicates

Dan Fabulich - 23/Nov/07 12:43 AM
Duplicate of SUREFIRE-122, fixed and tested.