Created
March 12, 2014 11:40
-
-
Save hfs/9505230 to your computer and use it in GitHub Desktop.
Separate integration tests in a Play! 2.2.2 project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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