# TestSuiteSource

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

<br />

```
@Incubating
interface TestSuiteSource : Named
```

<br />

*** ** * ** ***

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

## Summary

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

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

## Public properties

### dependencies

Added in 9.1.0-alpha01  

```
val dependencies: AgpTestSuiteDependencies?
```

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

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

### type

Added in 9.1.0-alpha01  

```
val type: TestSuiteSourceType
```

The source type.