has Test Classes
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
test Property Name
the test property name to check. By default, "sut".
module Name
the name of the module to check (optional).
source Set Name
the name of the source set to check (optional).