count Test Classes
abstract fun countTestClasses(moduleName: String? = null, sourceSetName: String? = null, predicate: (KoClassDeclaration) -> Boolean): Int
Returns the number of test classes matching the predicate.
Return
The number of test classes.
Parameters
module Name
the name of the module to check (optional).
source Set Name
the name of the source set to check (optional).
predicate
A function that defines the condition to be met by a test class.