scalatest / scalatest-maven-plugin

ScalaTest Maven Plugin
Apache License 2.0
34 stars 61 forks source link

No test were executed #56

Open Roland4444 opened 5 years ago

Roland4444 commented 5 years ago

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

SipSeb commented 5 years ago

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?

PeterFras commented 5 years ago

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