Maven Surefire

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0 Report Plugin
  • Fix Version/s: None
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    3

Description

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

Issue Links

Activity

Hide
Bernd added a comment -

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.

Show
Bernd added a comment - 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.
Hide
Bernd added a comment -

added a test, removed some duplication in the code, replaces last patch

Show
Bernd added a comment - added a test, removed some duplication in the code, replaces last patch
Hide
Damien Lecan added a comment -

Can this patch be merged into svn ?

Show
Damien Lecan added a comment - Can this patch be merged into svn ?
Hide
Brett Porter added a comment -

it appears this was already fixed in 2.3, but we should incorporate the tests in this patch

Show
Brett Porter added a comment - it appears this was already fixed in 2.3, but we should incorporate the tests in this patch
Hide
Bernd added a comment -

When working on this issue please also check the links to the duplicates

Show
Bernd added a comment - When working on this issue please also check the links to the duplicates
Hide
Dan Fabulich added a comment -

Duplicate of SUREFIRE-122, fixed and tested.

Show
Dan Fabulich added a comment - Duplicate of SUREFIRE-122, fixed and tested.

People

Vote (7)
Watch (10)

Dates

  • Created:
    Updated:
    Resolved: