samedi 28 mai 2016

Play+Scala suite test not found type PlaySpecification

It is my first web app using Play Framework and Scala. I am following this tutorial > http://ift.tt/1MZQztl and after the app working well, my tests cannot work. When I type sbt test the compiler says cannot find PlaySpecification.

[error] /home/felipe/Documentos/AMC/amc-project/play-scala-library/test/controllers/HomeControllerIntegrationSpec.scala:6: not found: type PlaySpecification
[error] class HomeControllerIntegrationSpec extends PlaySpecification {

These are my dependencies >

libraryDependencies ++= Seq(
  jdbc,
  cache,
  ws,
  evolutions,
  "com.typesafe.play" %% "anorm" % "2.4.0",
  "commons-codec" % "commons-codec" % "1.6",
  "org.scalatestplus.play" %% "scalatestplus-play" % "1.5.1" % Test
)

resolvers += "scalaz-bintray" at "http://ift.tt/1s6xCLk"

Aucun commentaire:

Enregistrer un commentaire