SBT doesn't reconize junit testcase written in java file
junit, sbt, scala, testing
Solution
Probably late for the origional question, but..
I've just been looking at this. The JUnit tests in my project were not running for me until I ran `sbt clean test`. Now all working like a charm.
Problem
I made a Scala/Java mixed project with SBT 0.11.2. My config for JUnit testing is ``` resolvers += "twitter.com" at "http://maven.twttr.com/" seq(com.github.retronym.SbtOneJar.oneJarSettings: _*) libraryDependencies += "com.novocode" % "junit-interface" % "0.10-M2" % "test" ``` When I write JUnit test cases in Scala with `@Test`, every goes well. But when I write a Java JUnit test case, then run `test` in sbt, the Java JUnit test cannot be reconized. Only test cases written in Scala are executed. How can I make sbt recognize my Java and Scala test cases at the same time?