idea-sbt-plugin icon indicating copy to clipboard operation
idea-sbt-plugin copied to clipboard

Custom path for test sources in special task

Open alberskib opened this issue 9 years ago • 0 comments

If I prepare additional test task:

 lazy val LoadTest = config("load") extend(Test)

and configure path for it and apply all settings:

 lazy val project = Project("test-project)
        .configs(LoadTest)
        .settings(loadTestsSettings: _*)        

  val loadTestsSettings = Seq(
    scalaSource in LoadTest := baseDirectory.value / "src" / "load" / "scala",
    resourceDirectory in LoadTest := baseDirectory.value / "src" / "load" / "resources",
    target in Gatling := baseDirectory.value / "target" / "load-test",
    libraryDependencies ++= loadTestsDependencies
  )

Intellij is not marking sources under as baseDirectory.value / "src" / "load" / "scala" as TestSources

alberskib avatar Jul 29 '15 14:07 alberskib