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.

getTestComponent

@Nullable
abstract fun getTestComponent(): @Nullable CppTestSuite(source)

Returns the C++ unit test suite of this project, if any.

Return

the test suite or null when the project does not have a unit test suite.

Since

4.10