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

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -