TestFixtures

@Incubating interface TestFixtures

DSL object for configuring test fixtures.

Summary

Public properties

Boolean

Flag to enable Android resource processing in test fixtures.

Boolean

Flag to enable test fixtures.

Public properties

androidResources

val androidResourcesBoolean

Flag to enable Android resource processing in test fixtures.

Default value is 'false'.

enable

val enableBoolean

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.