title: Maven won't run scala tests
body: <p>I'm using maven scala test plugin as described <a href="http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin" rel="noreferrer">here</a>. I defined two test classes and put them under <code>src/test/scala</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/u9QuP.png" alt="enter image description here"></p>
  
  <p>Tests are looking like the following:</p>
  
  <pre><code>class LoginTest extends FlatSpec with ShouldMatchers with WebBrowser with Eventually with IntegrationPatience {
      ...
  }
  </code></pre>
  
  <p>My <code>pom.xml</code> contains the following dependencies / configuration:</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.11&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
          &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
          &lt;version&gt;2.44.0&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.scalatest&lt;/groupId&gt;
          &lt;artifactId&gt;scalatest_2.11&lt;/artifactId&gt;
          &lt;version&gt;2.2.1&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.7&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;skipTests&gt;true&lt;/skipTests&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.scalatest&lt;/groupId&gt;
              &lt;artifactId&gt;scalatest-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.0&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;reportsDirectory&gt;${project.build.directory}/surefire-reports&lt;/reportsDirectory&gt;
                  &lt;junitxml&gt;.&lt;/junitxml&gt;
                  &lt;filereports&gt;WDF TestSuite.txt&lt;/filereports&gt;
              &lt;/configuration&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;test&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;test&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.scala-tools&lt;/groupId&gt;
              &lt;artifactId&gt;maven-scala-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.15.2&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;scala-compile&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;compile&lt;/goal&gt;
                          &lt;goal&gt;testCompile&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>When I run <code>mvn test</code> I got the message:</p>
  
  <pre><code>[INFO] --- scalatest-maven-plugin:1.0:test (test) @ selenium ---
  Discovery starting.
  Discovery completed in 30 milliseconds.
  Run starting. Expected test count is: 0
  DiscoverySuite:
  Run completed in 91 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.
  </code></pre>
  
  <p>Calling tests from <code>Intellij</code> brings a message:</p>
  
  <pre><code>0 test class found in package '&lt;default package&gt;'
  </code></pre>