Hudson tries to execute JMEJOGLAWTInputTest as a junit test

My hudson set up tries to execute JMEJOGLAWTInputTest  as a JUnit test but fails, since it is not a junit test of course.

But i wonder why its recognized as a junit test?



Failed

jmetest.util.JMEJOGLAWTInputTest.initializationError0
Schl

Which version of JUnit do you use? I can fix it if you want.

Not sure i'd have to check, but 4 i guess.

Is the "*Test" part in the class name the problem?

The file isn't explicitly excluded from surefire in pom.xml



If you add the line [pre]<exclude>/JMEJOGLAWTInputTest.java</exclude>[/pre] in the

[pre]            <plugin>

               <groupId>org.apache.maven.plugins</groupId>

               <artifactId>maven-surefire-plugin</artifactId>

               <configuration>

                   <argLine>-Djava.library.path=lib</argLine>

                   <excludes>

                       <exclude>jmetest/
/Test*.java</exclude>

                       <exclude>/JMESwingTest.java</exclude>

                       <exclude>
/JMESWTTest.java</exclude>

                       <exclude>/JMEAppletTest.java</exclude>

                       <exclude>
/JMEJOGLAWTTest.java</exclude>

                   </excludes>

               </configuration>

           </plugin>

[/pre]

section it should skip it just fine

ah great thanks, i wasn't aware of those excludes.