Stay organized with collections
Save and categorize content based on your preferences.
GeneratesTestApk
interface GeneratesTestApk : GeneratesApk
Summary
Public properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# GeneratesTestApk\n================\n\n\n```\ninterface GeneratesTestApk : GeneratesApk\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[AndroidTest](/reference/tools/gradle-api/7.2/com/android/build/api/variant/AndroidTest), [TestVariant](/reference/tools/gradle-api/7.2/com/android/build/api/variant/TestVariant) \n\n|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [AndroidTest](/reference/tools/gradle-api/7.2/com/android/build/api/variant/AndroidTest) | Properties for the android test Variant of a module. |\n| [TestVariant](/reference/tools/gradle-api/7.2/com/android/build/api/variant/TestVariant) | [Variant](/reference/tools/gradle-api/7.2/com/android/build/api/variant/Variant) for test-only modules. |\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public properties ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`\u003c`[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`\u003e` | [functionalTest](/reference/tools/gradle-api/7.2/com/android/build/api/variant/GeneratesTestApk#functionalTest()) The functionalTest value to use to run the tests. |\n| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`\u003c`[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`\u003e` | [handleProfiling](/reference/tools/gradle-api/7.2/com/android/build/api/variant/GeneratesTestApk#handleProfiling()) The handleProfiling value to use to run the tests. |\n| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [instrumentationRunner](/reference/tools/gradle-api/7.2/com/android/build/api/variant/GeneratesTestApk#instrumentationRunner()) The instrumentationRunner to use to run the tests. |\n| [Property](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Property.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?\u003e` | [testLabel](/reference/tools/gradle-api/7.2/com/android/build/api/variant/GeneratesTestApk#testLabel()) The test label. |\n\nPublic properties\n-----------------\n\n### functionalTest\n\n```\nval functionalTest: Property\u003cBoolean\u003e\n```\n\nThe functionalTest value to use to run the tests. \n\n### handleProfiling\n\n```\nval handleProfiling: Property\u003cBoolean\u003e\n```\n\nThe handleProfiling value to use to run the tests. \n\n### instrumentationRunner\n\n```\nval instrumentationRunner: Property\u003cString\u003e\n```\n\nThe instrumentationRunner to use to run the tests. \n\n### testLabel\n\n```\nval testLabel: Property\u003cString?\u003e\n```\n\nThe test label."]]