# TestFixtures

# TestFixtures

<br />

```
@Incubating interface TestFixtures
```

<br />

*** ** * ** ***

DSL object for configuring test fixtures.

## Summary

|                                                                                                                                    ### Public properties                                                                                                                                    ||
|------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [androidResources](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestFixtures#androidResources()) Flag to enable Android resource processing in test fixtures. |
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | [enable](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/TestFixtures#enable()) Flag to enable test fixtures.                                                    |

## Public properties

### androidResources

```
var androidResources: Boolean
```

Flag to enable Android resource processing in test fixtures.

Default value is 'false'.  

### enable

```
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.