For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getTestCount

abstract fun getTestCount(): Long(source)

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

Since

0.9