I know this is a very old question, but the problem still stands today to some extent. Given a simple class of cases, in order to get a full coverage report from IntelliJ, you also need to test the unapply method.
// Code final case class Foo(symbol: String, name: String) // Test val myFoo = Foo("TheSymbol", "TheName") Foo.unapply(myFoo).get should be(("TheSymbol", "TheName"))
Without this, I got 50% coverage for a base case class like this.
source share