You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2011/01/02 22:27:58 UTC

[jira] Closed: (SUREFIRE-515) Executes nested classes that are not tests

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

Kristian Rosenvold closed SUREFIRE-515.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.2
         Assignee: Kristian Rosenvold

Verified as fixed for 2.7.2

> Executes nested classes that are not tests
> ------------------------------------------
>
>                 Key: SUREFIRE-515
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-515
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: JUnit 3.x support, Junit 4.x support
>    Affects Versions: 2.4.3
>            Reporter: Thomas Diesler
>            Assignee: Kristian Rosenvold
>             Fix For: 2.7.2
>
>
> When using excludes like this
>           <plugin>
>             <artifactId>maven-surefire-plugin</artifactId>
>             <configuration>
>               <excludes>
>                 <exclude>org/jboss/bpm/pattern/**/*APITest.java</exclude>
>               </excludes>
>               <includes>
>                 <include>org/jboss/bpm/pattern/**</include>
>               </includes>
>             </configuration>
>           </plugin>
> surefire executes the nested classes
> Running org.jboss.bpm.pattern.control.synchronization.SynchronizationTest$TaskB
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> Running org.jboss.bpm.pattern.control.synchronization.SynchronizationTest$TaskC
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

-- 
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