Stay organized with collections Save and categorize content based on your preferences.

TestFixtures

@Incubating interface TestFixtures
com.android.build.api.dsl.TestFixtures

DSL object for configuring test fixtures.

Summary

Properties

abstract Boolean

Flag to enable Android resource processing in test fixtures.

abstract Boolean

Flag to enable test fixtures.

Properties

androidResources

abstract var androidResources: Boolean

Flag to enable Android resource processing in test fixtures.

Default value is 'false'.

enable

abstract var enable: Boolean

Flag to enable test fixtures.

Default value is derived from android.experimental.enableTestFixtures which is 'false' by default.

You can override the default for this for all projects in your build by adding the line android.experimental.enableTestFixtures=true in the gradle.properties file at the root project of your build.