Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class TestMatrix : KotlinCustomResource

Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. That happens later on and will require a call to GetTestMatrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use too many simultaneous devices. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class TestMatrixArgs(val clientInfo: Output<ClientInfoArgs>? = null, val environmentMatrix: Output<EnvironmentMatrixArgs>? = null, val failFast: Output<Boolean>? = null, val flakyTestAttempts: Output<Int>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val resultStorage: Output<ResultStorageArgs>? = null, val testSpecification: Output<TestSpecificationArgs>? = null) : ConvertibleToJava<TestMatrixArgs>

Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. That happens later on and will require a call to GetTestMatrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use too many simultaneous devices. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
Link copied to clipboard
object TestMatrixMapper : ResourceMapper<TestMatrix>
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun testMatrix(name: String, block: suspend TestMatrixResourceBuilder.() -> Unit): TestMatrix