InstrumentationTestOptions

Options for controlling instrumentation test execution

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@get:Input
abstract val enabled: Property<Boolean>

Whether to configure JUnit 5 instrumentation tests automatically when junit-jupiter-api is added as an androidTestImplementation dependency.

Link copied to clipboard
@get:Input
abstract val includeExtensions: Property<Boolean>

Whether to include a dependency on the android-test-extensions library on top of the main instrumentation artifacts.

Link copied to clipboard
@get:Input
abstract val useConfigurationParameters: Property<Boolean>

Whether to use configuration parameters configured via the plugin DSL for instrumentation tests, too.

Link copied to clipboard
@get:Input
abstract val version: Property<String>

The version of the instrumentation libraries to autoconfigure.