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.

getTestConfigurations

Returns the test configurations.

All resolved dependencies that appear only in the returned dependency configurations are marked with the 'test' classpath attribute on the Eclipse classpath.

The default value contains the following elements:

  • The compile and runtime configurations of the getTestSourceSets, including the jvm-test-suite source sets
  • Other configurations with names containing the 'test' substring (case ignored)

Note, that this property should contain resolvable configurations only.

Since

7.5