# TestSuiteSourceSet

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


```
@Incubating
interface TestSuiteSourceSet : Named
```

<br />

Known direct subclasses [TestSuiteSourceSet.Assets](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet.Assets), [TestSuiteSourceSet.HostJar](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet.HostJar), [TestSuiteSourceSet.TestApk](https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet.TestApk)

|---|---|
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet.Assets` | Represents a `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet` for asset based tests. |
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet.HostJar` | Represents a `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet` for host jars. |
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet.TestApk` | Represents a `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet` for test apks. |

*** ** * ** ***

A test source abstraction which can be either an asset folder, a host jar source, or a test apk source.

Test suite sources attached to the `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuite`. These are not specific to a single variant but shared between all variants that the test suite targets through the `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/AgpTestSuite#targetVariants()` API.

## Summary

| ### Nested types |
|---|
| `@https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html interface https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet.Assets : https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet` Represents a `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet` for asset based tests. |
| `@https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html interface https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet.HostJar : https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet` Represents a `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet` for host jars. |
| `@https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html interface https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet.TestApk : https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet` Represents a `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet` for test apks. |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/dsl/AgpTestSuiteDependencies?` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet#dependencies()` The dependencies associated with this source or null if this `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet#type()` does not support source dependencies (like `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceType#ASSETS`\]). |
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceType` | `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet#type()` The source type. |

### 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

### dependencies

Added in 9.6.0-alpha03

```
val dependencies: AgpTestSuiteDependencies?
```

The dependencies associated with this source or null if this `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet#type()` does not support source dependencies (like `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceType#ASSETS`\]).

The dependencies added through the DSL declarations will not be queryable through the returned instance. This `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/TestSuiteSourceSet#dependencies()` is only for adding new dependencies that were not added at the DSL declaration.

### type

Added in 9.6.0-alpha03

```
val type: TestSuiteSourceType
```

The source type.