scalatest / scalatest-maven-plugin

ScalaTest Maven Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No test were executed

Roland4444 opened this issue · comments

Discovery starting.
Discovery completed in 73 milliseconds.
Run starting. Expected test count is: 0
DiscoverySuite:
Run completed in 115 milliseconds.
Total number of tests run: 0
Suites: completed 1, aborted 0
Tests: succeeded 0, failed 0, canceled 0, ignored 0, pending 0
No tests were executed.

No test runned. Why?
Project => https://github.com/Roland4444/Zerber.git

I ran into the same problem today. Using it from mvn test on a Mac. My Linux colleagues don't see this problem. Any hints?

@SipSeb This config worked for me, mind the testCompile goal:

<plugin>
    <groupId>org.scala-tools</groupId>
    <artifactId>maven-scala-plugin</artifactId>
    <executions>
        <execution>
            <goals>
                <goal>compile</goal>
                <goal>testCompile</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <jvmArgs>
            <jvmArg>-Xms64m</jvmArg>
            <jvmArg>-Xmx1024m</jvmArg>
        </jvmArgs>
    </configuration>
</plugin>