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

Emmanuel Venisse closed SUREFIRE-369.
-------------------------------------

         Assignee: Emmanuel Venisse
       Resolution: Duplicate
    Fix Version/s:     (was: 2.3.1)

Duplicate SUREFIRE-122

> 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: Emmanuel Venisse
>
> 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

        

Reply via email to