Surefire Report in continuum contains excess/superfluous test methods.
----------------------------------------------------------------------
Key: CONTINUUM-1542
URL: http://jira.codehaus.org/browse/CONTINUUM-1542
Project: Continuum
Issue Type: Bug
Components: Testing
Reporter: Joakim Erdfelt
When looking at the surefire test results within a continuum build that
reported a failure, the list of test methods for the tested class contains
extra methods from other tested classes.
Continuum on maven.zones.apache.org [surefire report example with
problem|http://maven.zones.apache.org/continuum/surefireReport.action;jsessionid=10vfs6g7jbl9f?buildId=32827&projectId=296#org.apache.maven.archiva.web.repository.RepositoryServletProxiedReleasePolicyTest]
If you look at the list of test methods for
RepositoryServletProxiedReleasePolicyTest you can see that the report shows the
correct # of tests at the top with 15, but when you goto the details for that
test, you see well over 15 tests.
In fact, when you look at the section that starts with "Test Cases" you can see
that the list of tests for each Test class is actually the list of tests from
the previous Test class + the tests for the current Test class.
Example:
+RepositoryServletNoProxyMetadataTest+
(/) testGetVersionMetadataDefaultLayout
(/) testGetProjectMetadataDefaultLayout
(/) testGetSnapshotVersionMetadataDefaultLayout
+ArchivaMimeTypeLoaderTest+
(/) -testGetVersionMetadataDefaultLayout-
(/) -testGetProjectMetadataDefaultLayout-
(/) -testGetSnapshotVersionMetadataDefaultLayout-
(/) testArchivaTypes
+RepositoryServletProxiedPluginSnapshotPolicyTest+
(/) -testGetVersionMetadataDefaultLayout-
(/) -testGetProjectMetadataDefaultLayout-
(/) -testGetSnapshotVersionMetadataDefaultLayout-
(/) -testArchivaTypes-
(/) testGetProxiedSnapshotsArtifactPolicyAlwaysManagedNewer
(/) testGetProxiedSnapshotsArtifactPolicyAlwaysManagedOlder
(/) testGetProxiedSnapshotsArtifactPolicyAlwaysNoManagedContent
(/) testGetProxiedSnapshotsArtifactPolicyDailyFail
...
--
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