testLab namespace

接口

接口 说明
ClientInfo 对测试进行调用的客户端的相关信息。
ResultStorage 存储测试结果的位置。
TestMatrixCompletedData 所有 Firebase 测试矩阵已完成事件中的数据。

类型别名

类型别名 说明
OutputSummary(结果摘要) 已完成的测试矩阵的结果摘要。
TestState 测试矩阵的可能测试状态。

testLab.OutcomeSummary

已完成的测试矩阵的结果摘要。

签名

export type OutcomeSummary = 
/** The default value. This value is used if the state is omitted. */
"OUTCOME_SUMMARY_UNSPECIFIED"
/**
 * The test matrix run was successful, for instance:
 * - All test cases passed.
 * - No crash of the application under test was detected.
 */
 | "SUCCESS"
/**
 * A run failed, for instance:
 * - One or more test case failed.
 * - A test timed out.
 * - The application under test crashed.
 */
 | "FAILURE"
/**
 * Something unexpected happened. The test run should still be considered
 * unsuccessful but this is likely a transient problem and re-running the
 * test might be successful.
 */
 | "INCONCLUSIVE"
/** All tests were skipped. */
 | "SKIPPED";

testLab.TestState

测试矩阵的可能测试状态。

签名

export type TestState = 
/** The default value. This value is used if the state is omitted. */
"TEST_STATE_UNSPECIFIED"
/** The test matrix is being validated. */
 | "VALIDATING"
/** The test matrix is waiting for resources to become available. */
 | "PENDING"
/** The test matrix has completed normally. */
 | "FINISHED"
/** The test matrix has completed because of an infrastructure failure. */
 | "ERROR"
/** The test matrix was not run because the provided inputs are not valid. */
 | "INVALID";