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.

testSourceSet

open fun testSourceSet(testSourceSet: SourceSet)(source)

Adds some source sets to the collection which will be using TestKit. Calling this method multiple times with different source sets is additive - this method will add to the existing collection of source sets.

Since

7.4

Parameters

testSourceSet

the test source set to add