Maven not discovering ScalaTest unit tests
问题 I have the following unit tests: import org.scalatest.FunSpec import org.scalatest.Matchers._ class MyClassSpec extends FunSpec { describe("MyClass"){ describe("Scenario 1"){ it("Condition 1") { true shouldEqual false } it("Condition 2"){ true shouldEqual false } } } } When I run maven test, this compiles fine but the tests are not found. Here is the output: [INFO] --- maven-surefire-plugin:2.7:test (default-test) @ project-name --- [INFO] Tests are skipped. [INFO] [INFO] --- scalatest-maven