You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2007/11/08 14:17:35 UTC

[jira] Moved: (SUREFIRE-369) Surefire Report in continuum contains excess/superfluous test methods.

     [ http://jira.codehaus.org/browse/SUREFIRE-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse moved CONTINUUM-1542 to SUREFIRE-369:
------------------------------------------------------

    Fix Version/s:     (was: 1.1)
                   2.3.1
      Component/s:     (was: Testing)
                   plugin
              Key: SUREFIRE-369  (was: CONTINUUM-1542)
          Project: Maven Surefire  (was: Continuum)

> Surefire Report in continuum contains excess/superfluous test methods.
> ----------------------------------------------------------------------
>
>                 Key: SUREFIRE-369
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-369
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: plugin
>            Reporter: Joakim Erdfelt
>            Assignee: Olivier Lamy
>             Fix For: 2.3.1
>
>
> 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