TestRunData

@Incubating interface TestRunData


The general inputs associated with a given test run.

Summary

Public properties

List<String>

Additional APK installation options.

Directory?

Output directory to contain any additional test results.

Directory

The output directory to contain code coverage results

String

The name of the managed device from the DSL associated with this test run.

Set<File>

Helper APKs for the given test run.

Directory

The output directory to contain test results

String

The path to the Gradle project for this test.

StaticTestData

The test data associated with this test run, including the Test APK and APK under test.

String

A unique id for the test-run.

String

The full name of the variant under test.

Public properties

additionalInstallOptions

val additionalInstallOptions: List<String>

Additional APK installation options.

additionalTestOutputDir

val additionalTestOutputDir: Directory?

Output directory to contain any additional test results.

coverageOutputDirectory

val coverageOutputDirectory: Directory

The output directory to contain code coverage results

deviceName

val deviceName: String

The name of the managed device from the DSL associated with this test run.

helperApks

val helperApks: Set<File>

Helper APKs for the given test run.

outputDirectory

val outputDirectory: Directory

The output directory to contain test results

projectPath

val projectPath: String

The path to the Gradle project for this test.

testData

val testData: StaticTestData

The test data associated with this test run, including the Test APK and APK under test.

testRunId

val testRunId: String

A unique id for the test-run.

This is based upon the managed device name, variant, and module that this task belongs to.

variantName

val variantName: String

The full name of the variant under test.