# GeneratesTestApk

# GeneratesTestApk

<br />

```
interface GeneratesTestApk : GeneratesApk
```

<br />

Known direct subclasses  
[AndroidTest](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/variant/AndroidTest),[TestVariant](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/variant/TestVariant)  

|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
| [AndroidTest](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/variant/AndroidTest) | Properties for the android test Variant of a module.                                                                                |
| [TestVariant](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/variant/TestVariant) | [Variant](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/variant/Variant)for test-only modules. |

*** ** * ** ***

## Summary

|                                                                                                                                                                                       ### Public properties                                                                                                                                                                                        ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`<`[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`>` | [functionalTest](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/variant/GeneratesTestApk#functionalTest()) The functionalTest value to use to run the tests.                |
| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`<`[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`>` | [handleProfiling](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/variant/GeneratesTestApk#handleProfiling()) The handleProfiling value to use to run the tests.             |
| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>`   | [instrumentationRunner](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/variant/GeneratesTestApk#instrumentationRunner()) The instrumentationRunner to use to run the tests. |
| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?>`  | [testLabel](https://developer.android.com/reference/tools/gradle-api/7.2/com/android/build/api/variant/GeneratesTestApk#testLabel()) The test label.                                                            |

## Public properties

### functionalTest

```
val functionalTest: Property<Boolean>
```

The functionalTest value to use to run the tests.  

### handleProfiling

```
val handleProfiling: Property<Boolean>
```

The handleProfiling value to use to run the tests.  

### instrumentationRunner

```
val instrumentationRunner: Property<String>
```

The instrumentationRunner to use to run the tests.  

### testLabel

```
val testLabel: Property<String?>
```

The test label.