[ 
http://jira.codehaus.org/browse/SUREFIRE-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264157#action_264157
 ] 

Igor Petruk edited comment on SUREFIRE-729 at 4/20/11 3:56 AM:
---------------------------------------------------------------

Oops. I formatting have eaten my text when reporting a bug. It was 


{code:xml} 
<includes><include>**/*</include></includes>
{code}

But anyway


{code:xml} 
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.8.1</version>
            <dependencies>
                  <dependency>
                        <groupId>org.apache.maven.surefire</groupId>
                        <artifactId>surefire-junit47</artifactId>
                        <version>2.8.1</version>
                        </dependency>
                        </dependencies>

                <configuration>
                <includes>
                        <include>**/Test*.java</include>
                        <include>**/*Test.java</include>
                        <include>**/*TestCase.java</include>
                        </includes>
                <argLine>-Xmx1024m -XX:MaxPermSize=128m</argLine>
        </configuration>
</plugin>

{code} 

Here what I have now. Same result. Even without mentioning that I am simply 
copy-pasting what should be enabled by default

Plus the question is why it works thorough "test" option, but only without 
Spring runner

      was (Author: vertexua):
    Oops. I formatting have eaten my text when reporting a bug. It was 


{code:xml} 
<includes><include>**/*</include></includes>
{code}

But anyway


{code:xml} 
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.8.1</version>
            <dependencies>
                  <dependency>
                        <groupId>org.apache.maven.surefire</groupId>
                        <artifactId>surefire-junit47</artifactId>
                        <version>2.8.1</version>
                        </dependency>
                        </dependencies>

                <configuration>
                <includes>
                        <include>**/Test*.java</include>
                        <include>**/*Test.java</include>
                        <include>**/*TestCase.java</include>
                        </includes>
                <argLine>-Xmx1024m -XX:MaxPermSize=128m</argLine>
        </configuration>
</plugin>

{code} 

Here what I have now. Same result. Even without mentioning that I am simply 
copy-pasting what should be enabled by default

  
> Surefire 2.8, surefire-junit47, No tests to run
> -----------------------------------------------
>
>                 Key: SUREFIRE-729
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-729
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Igor Petruk
>            Assignee: Kristian Rosenvold
>
> Concurrency config is parallel='none', perCoreThreadCount=true, 
> threadCount=2, useUnlimitedThreads=false
> There are no tests to run.
> Here is a part of my config
> <plugin>
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <version>2.8</version>
>           <dependencies>
>                 <dependency>
>                       <groupId>org.apache.maven.surefire</groupId>
>                       <artifactId>surefire-junit47</artifactId>
>                       <version>2.8</version>
>                 </dependency>
>               </dependencies>
>               <configuration>
>               <excludes>
>                       <exclude>**/manual/**</exclude>
>               </excludes>
>               <argLine>-Xmx1024m -XX:MaxPermSize=128m</argLine>
>       </configuration>
> </plugin>
> Adding "includes" of any form does not change anything.
> But when I add 
> <includes><include>**/*</include></includes>
> it fails trying to run an xml file in resources, interpreting it as class
> com/mycompany/Myxml.xml is treated java test class com.mycompany.Myxml test 
> class. Of course it fails

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