hasTestClasses

abstract fun hasTestClasses(testPropertyName: String = "sut", moduleName: String? = null, sourceSetName: String? = null): Boolean

Determines whatever declaration has a Test class.

Return

true if the declaration has a test class, false otherwise.

Parameters

testPropertyName

the test property name to check. By default, "sut".

moduleName

the name of the module to check (optional).

sourceSetName

the name of the source set to check (optional).