Scalatest and type-safe equality

In Scalatest when using matchers you have many ways to test for equality, but only one of those is type-safe - should ===() So, if you have a function returning Int, like def f(i: Int): Int = i then the only type-safe way to test it is to use should ===() syntax, like f(5) should ===(5) »

Scalatest, Maven and Missing Tests

As you may know ScalaTest provides a JUnitRunner and you can perfectly run your scala tests as if they are regular junit tests. In particular, you can run them from maven, using surefire plugin. Why would you do this? In case you have a mixed Java/Scala project with tests written using junit as well »