GeneratesTestApk

interface GeneratesTestApk : GeneratesApk
AndroidTest

Properties for the android test Variant of a module.

TestVariant

Variant for test-only modules.

Summary

Properties

abstract Property<Boolean>

The functionalTest value to use to run the tests.

abstract Property<Boolean>

The handleProfiling value to use to run the tests.

abstract Property<String>

The instrumentationRunner to use to run the tests.

abstract Property<String?>

The test label.

Inherited properties

AndroidResources androidResources

Variant's android resources processing configuration, initialized by the corresponding global DSL element.

Provider<String> applicationId

Variant's application ID as present in the final manifest file of the APK.

ApkPackaging packaging

Variant's packagingOptions, initialized by the corresponding global DSL element.

Renderscript? renderscript

Variant specific settings for the renderscript compiler. This will return null when com.android.build.api.dsl.BuildFeatures.renderScript is false.

Properties

functionalTest

abstract val functionalTest: Property<Boolean>

The functionalTest value to use to run the tests.

handleProfiling

abstract val handleProfiling: Property<Boolean>

The handleProfiling value to use to run the tests.

instrumentationRunner

abstract val instrumentationRunner: Property<String>

The instrumentationRunner to use to run the tests.

testLabel

abstract val testLabel: Property<String?>

The test label.