TestFixtures

Added in 7.1.0

@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

Added in 7.1.0
var androidResourcesBoolean

Flag to enable Android resource processing in test fixtures.

Default value is 'false'.

enable

Added in 7.1.0
var 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.