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.

includePackages

abstract fun includePackages(packages: Collection<String>): TestSpec(source)

Adds all tests declared in the target packages to the test execution.

Return

this

Since

7.6

Parameters

packages

The target packages.

See also