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.

getTestSourceSets

Returns the test source sets.

The source directories in the returned source sets are marked with the 'test' classpath attribute on the Eclipse classpath.

The default value contains the following elements:

  • All source sets with names containing the 'test' substring (case ignored)
  • All source sets defined via the jvm-test-suite DSL

Since

7.5