Hey all. I'm using oracle Play 2.2.1 built with Scala 2.10.2 (running Java 1.7.0_45) on Os X.
I just created a play module in Intellij, right clicked and select Run Tests on the test directory but the results of that is a compile error;
object index is not a member of package views.html
Ok(views.html.index("Your new application is ready."))
I assumed that this was just an error in how intellij handles Play and Scala project, so I created a new play project - ran play idea and opened those files. RIght clicked the test directory and got a different error;
Class not found: "ApplicationSpec"
I doubt that this is the normal out of the box experience. Both projects work if I do play test on the cli,
After having run the tests using play test on the command line, I can run the tests fine from the IDE for the project that I created using the play command. The project that intellij created now gives me the following error;
org.specs2.execute.Error$ThrowableException: VerifyError: Cannot inherit from final class