
com.pulumi.googlenative.toolresults.v1beta3.kotlin.outputs.TestExecutionStepResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.toolresults.v1beta3.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* 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.
* @property testIssues 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
* @property testSuiteOverviews 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)
* @property testTiming The timing break down of the test execution. - In response: present if set by create or update - In create/update request: optional
* @property toolExecution 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
*/
public data class TestExecutionStepResponse(
public val testIssues: List,
public val testSuiteOverviews: List,
public val testTiming: TestTimingResponse,
public val toolExecution: ToolExecutionResponse,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.toolresults.v1beta3.outputs.TestExecutionStepResponse): TestExecutionStepResponse = TestExecutionStepResponse(
testIssues = javaType.testIssues().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.toolresults.v1beta3.kotlin.outputs.TestIssueResponse.Companion.toKotlin(args0)
})
}),
testSuiteOverviews = javaType.testSuiteOverviews().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.toolresults.v1beta3.kotlin.outputs.TestSuiteOverviewResponse.Companion.toKotlin(args0)
})
}),
testTiming = javaType.testTiming().let({ args0 ->
com.pulumi.googlenative.toolresults.v1beta3.kotlin.outputs.TestTimingResponse.Companion.toKotlin(args0)
}),
toolExecution = javaType.toolExecution().let({ args0 ->
com.pulumi.googlenative.toolresults.v1beta3.kotlin.outputs.ToolExecutionResponse.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy