TestExecutionStepArgs

data class TestExecutionStepArgs(val testIssues: Output<List<TestIssueArgs>>? = null, val testSuiteOverviews: Output<List<TestSuiteOverviewArgs>>? = null, val testTiming: Output<TestTimingArgs>? = null, val toolExecution: Output<ToolExecutionArgs>? = null) : ConvertibleToJava<TestExecutionStepArgs>

A step that represents running tests. It accepts ant-junit xml files which will be parsed into structured test results by the service. Xml file paths are updated in order to append more files, however they can't be deleted. Users can also add test results manually by using the test_result field.

Constructors

Link copied to clipboard
fun TestExecutionStepArgs(testIssues: Output<List<TestIssueArgs>>? = null, testSuiteOverviews: Output<List<TestSuiteOverviewArgs>>? = null, testTiming: Output<TestTimingArgs>? = null, toolExecution: Output<ToolExecutionArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TestExecutionStepArgs

Properties

Link copied to clipboard
val testIssues: Output<List<TestIssueArgs>>? = null

Issues observed during the test execution. For example, if the mobile app under test crashed during the test, the error message and the stack trace content can be recorded here to assist debugging. - In response: present if set by create or update - In create/update request: optional

Link copied to clipboard

List of test suite overview contents. This could be parsed from xUnit XML log by server, or uploaded directly by user. This references should only be called when test suites are fully parsed or uploaded. The maximum allowed number of test suite overviews per step is 1000. - In response: always set - In create request: optional - In update request: never (use publishXunitXmlFiles custom method instead)

Link copied to clipboard
val testTiming: Output<TestTimingArgs>? = null

The timing break down of the test execution. - In response: present if set by create or update - In create/update request: optional

Link copied to clipboard
val toolExecution: Output<ToolExecutionArgs>? = null

Represents the execution of the test runner. The exit code of this tool will be used to determine if the test passed. - In response: always set - In create/update request: optional