Run JUnit tests with SBT
问题 I have a 0.13.7 SBT project, with several sub-projects. One of them is called webapp , and it has many JUnit tests in webapp/src/test/java . When running: sbt webapp/test only the ScalaTest tests are run, but no JUnit tests. Snippet of my build.sbt file: libraryDependencies ++= Seq( "com.novocode" % "junit-interface" % "0.11" % Test ) lazy val webapp = project settings( Seq( projectDependencies ++= Seq( .... "org.scalatest" %% "scalatest" % "2.2.2" % Test, "junit" % "junit" % "4.11" % Test,