Help with Java tests of Akka code


Would anyone be able to point me at some examples of projects with Akka tests written in Java?
I am not getting the @Test annotation recognized by the compiler, and not sure which version of junit to include in my build.sbt so that it’s safe to include along org.scalatest.junit.

More generally, my code at doesn’t get picked up for running when I sbt test.


Try with junit version 4.12 and add the Test annotation to the methods that should be run.