api / org.gradle.nativeplatform.test.plugins / NativeTestingBasePlugin

NativeTestingBasePlugin

@Incubating open class NativeTestingBasePlugin : Plugin<ProjectInternal>

Common base plugin for all native testing plugins.

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

Since
4.5

Constructors

<init>

NativeTestingBasePlugin()

Common base plugin for all native testing plugins.

Expects plugins to register the native test suites in the Project#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.

Functions

apply

open fun apply(project: ProjectInternal): Unit