scopeFromTest

abstract fun scopeFromTest(moduleName: String? = null, sourceSetName: String? = null): KoScope

Creates a KoScope containing all of Kotlin files in the test source sets. The test source set is the source set which name starts or ends with "test". Method does return Kotlin files present in build directories such as "build" and "target".

Return

a KoScope containing all of Kotlin files in the test source sets.

Parameters

moduleName

The name of the module. If null, all modules will be included.

sourceSetName

The name of the source set. If null, all source sets will be included.

See also