api / org.gradle.plugins.ide.idea.model / IdeaModule / getTestSourceDirs

getTestSourceDirs

open fun getTestSourceDirs(): MutableSet<File>

The directories containing the test sources.

For backward-compatibility it is set of directories containing the test sources from project.sourceSets.test.allSource.

Starting with Gradle 5.0 it is set of directories containing the test sources from project.sourceSets.test.allJava. For example see docs for IdeaModule