# TestSuiteTargetBuilder

[View Source](https://cs.android.com/search?q=file:com/android/build/api/variant/TestSuiteTargetBuilder.kt+class:com.android.build.api.variant.TestSuiteTargetBuilder) Added in 9.6.0-alpha03


```
@Incubating
interface TestSuiteTargetBuilder : Named
```

<br />

*** ** * ** ***

Test suite target builder.

## Summary

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteTargetBuilder#enable()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteTargetBuilder#targetDevices()` Targeted devices for this test suite in this variant. |

### Inherited properties

From [org.gradle.api.Named](https://docs.gradle.org/current/javadoc/org/gradle/api/Named.html) `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` `https://docs.gradle.org/current/javadoc/org/gradle/api/Named.html#name`

## Public properties

### enable

Added in 9.6.0-alpha03

```
var enable: Boolean
```

### targetDevices

Added in 9.6.0-alpha03

```
val targetDevices: MutableList<String>
```

Targeted devices for this test suite in this variant.

AGP may choose to allocate multiple Test tasks for running the test suites depending on the targeted devices, so the list of devices must be fixed before the `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/AndroidComponentsExtension#onVariants(com.android.build.api.variant.VariantSelector,kotlin.Function1)` run.