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

HasAndroidTest

@Incubating interface HasAndroidTest
com.android.build.api.variant.HasAndroidTest

Denote a variant that can have associated android tests.

Summary

Properties

abstract AndroidTest?

Variant's AndroidTest configuration, or null if android tests are disabled for this variant.

Properties

androidTest

abstract val androidTest: AndroidTest?

Variant's AndroidTest configuration, or null if android tests are disabled for this variant.