scala - Running ScalaTest in Play Framwork 2.2.X -


i'm trying run functional scalatest in play 2.2 can't seem able import de @test annotation needed run tests. i've tried looking solutions seem different versions since none work 2.2 version.

can guide me on running scalatest on play?

the super basic test class tried run is:

class test extends assertionsforjunit {   @test def test() {   } } 

while error is:

type mismatch; found : server.test required:
scala.annotation.annotation

can paste example of test class? need include scalatest in build file:

librarydependencies += "org.scalatest" %% "scalatest" % "2.1.0" % "test" 

Comments

Popular posts from this blog

google app engine - 403 Forbidden POST - Flask WTForms -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -

how to run a query SQL in node.js mysql -