mpeltonen/sbt-idea

Test resources set via `sourceDirectories in Test` are not marked as Test in IDEA project structure.

Opened this issue · 1 comments

Test resources set via sourceDirectories in Test are not marked as Test in IDEA project structure.

In my build.scala source folders are specified as

sourceDirectories in Test ++= Seq(
    "cucumber/java", "integration/java", "selenium/src", "unit")
  .map(value => baseDirectory.value / "test" / value),

My expectation is that these folders will be marked as Test in IDEA project settings / Modules / my module / Sources

I'm using gen-idea 1.5.2

Test Resources is a feature of idea 13+
do you have an idea what will happen to projects with Test Resources opened with idea 12?
if idea 12 can read them as plain resources and not just die, then this can be implemented