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.

NativeTestingBasePlugin

Common base plugin for all native testing plugins.

Expects plugins to register the native test suites in the getComponents container, and defines a number of rules that act on these components to configure them.

  • Adds a "test" task.
  • Configures the "test" task to run the tests of the test component, if present. Expects the test component to be of type TestSuiteComponent.

Since

4.5

Constructors

Link copied to clipboard
@Inject
constructor(targetMachineFactory: TargetMachineFactory)

Functions

Link copied to clipboard
open fun apply(project: Project)
Apply this plugin to the given target object.