mpeltonen / sbt-idea

A simple-build-tool (sbt) plugin/processor for creating IntelliJ IDEA project files
Other
1.07k stars 153 forks source link

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

Open unoexperto opened 10 years ago

unoexperto commented 10 years ago

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

jozic commented 10 years ago

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