Hi,
My junit tests work if I prefix test method names with the word test.
If I don't do that and rely on the @Test annotation then the test
methods are not executed.
I have this in my POM:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.5</version>
<scope>test</scope>
</dependency>
and in my build section I have:
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<includes>
<!-- Only execute test suites -->
<include>**/*TestSuite.java</include>
</includes>
</configuration>
</plugin>
</plugins>
So I am using the latest version of surefire. Any ideas why it's not
using Junit 4?
Thanks,
Ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]