Clover Documentation

Clover 3.1 Documentation
Clover 3.0 Documentation
Clover 2.6 Documentation
More...

Clover Knowledge Base Resources

Skip to end of metadata
Go to start of metadata

Symptoms

In the clover report, inner classes of test cases (*TestCase.java) are shown as source classes, they are shown under the "classes" tab in the bottom left frame, and not under the "Tests" tab, as would be expected.

Cause

Clover's default test detection algorithm failed to distinguish the test sources.

Resolution

In Clover for Ant use the <testsources/> element in the <clover-report/> task to define test sources filename. This feature is currently not available for Clover for Maven: CLMVN-21

Labels
  • None