- All Implemented Interfaces:
- junit.framework.Test
public class MavenSurefireJUnit48RunnerTest
extends junit.framework.TestCase
TestCase that expose "No tests were executed!" on Test failure using Maven Surefire 2.6-SNAPSHOT
and the JUnit 4.8 Runner.
* <p/>
-------------------------------------------------------
T E S T S
-------------------------------------------------------
<p/>
Results :
<p/>
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
<p/>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.011s
[INFO] Finished at: Thu Jul 15 13:59:14 CEST 2010
[INFO] Final Memory: 24M/355M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test
(default-test) on project xxxxxx: No tests were executed! (Set -DfailIfNoTests=false to
ignore this error.) -> [Help 1]
<p/>
<p/>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
<p/>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-booter</artifactId>
<version>2.6-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.6-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit48</artifactId>
<version>2.6-SNAPSHOT</version>
<scope>test</scope>
</dependency>
- Version:
- $Revision: $
- Author:
- Aslak Knutsen