Android 12 Developer Preview is here! Try it out, and give us your feedback!

TestExtension

@Incubating interface TestExtension<AndroidSourceSetT : AndroidSourceSet, BuildTypeT : TestBuildType<SigningConfigT>, DefaultConfigT : TestDefaultConfig<SigningConfigT>, ProductFlavorT : TestProductFlavor<SigningConfigT>, SigningConfigT : SigningConfig> : CommonExtension<AndroidSourceSetT, TestBuildFeatures, BuildTypeT, DefaultConfigT, ProductFlavorT, SigningConfigT, TestVariantBuilder, TestVariant>
com.android.build.api.dsl.TestExtension

Extension for the Android Test Gradle Plugin.

Only the Android Gradle Plugin should create instances of this interface.

Summary

Inherited functions

Properties

abstract String?

The Gradle path of the project that this test project tests.

Inherited properties

Properties

targetProjectPath

abstract var targetProjectPath: String?

The Gradle path of the project that this test project tests.