api / org.gradle.api.tasks.testing / TestResult / getTestCount

getTestCount

abstract fun getTestCount(): Long

Returns the total number of atomic tests executed for this test. This will return 1 if this test is itself an atomic test.

Return
The number of tests, possibly 0