Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save afsalthaj/ef4a35ad03581bcb8632f72136a1d910 to your computer and use it in GitHub Desktop.
Save afsalthaj/ef4a35ad03581bcb8632f72136a1d910 to your computer and use it in GitHub Desktop.
lazy val myProject =
(project in file("myProject"))
.enablePlugins(DockerPlugin, DockerComposePlugin)
.config(DockerTest)
.settings(inConfig(DockerTest)(Defaults.testTasks): _*)
.settings(testOptions in DockerTest := Seq(
Tests.Argument(TestFrameworks.Specs2, "include","DockerComposeTag"))
)
// We exclude in other tests
.settings(testOptions in Test := Seq(
Tests.Argument(TestFrameworks.Specs2, "exclude", "DockerComposeTag"))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment