Skip to content

Instantly share code, notes, and snippets.

@hfs
Created March 12, 2014 11:40
Show Gist options
  • Save hfs/9505230 to your computer and use it in GitHub Desktop.
Save hfs/9505230 to your computer and use it in GitHub Desktop.
Separate integration tests in a Play! 2.2.2 project
import sbt._
// Enable integration tests:
// - put sources in src/it/java or src/it/scala
// - put resources in src/it/resources
// - run with "play it:test"
lazy val root = Project("root", file("."))
.configs(IntegrationTest)
.settings(Defaults.itSettings : _*)
.settings(libraryDependencies += playTest)
val playTest = "com.typesafe.play" %% "play-test" % play.core.PlayVersion.current % "it"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment