TestSuiteOverview

从 XML 解析或由用户直接上传的测试套件结果摘要。

注意:API 相关注释仅针对 StepService。此消息也在 ExecutionService 中以只读模式用于相应的步骤。

JSON 表示
{
  "xmlSource": {
    object (FileReference)
  },
  "name": string,
  "totalCount": integer,
  "failureCount": integer,
  "errorCount": integer,
  "skippedCount": integer,
  "flakyCount": integer,
  "elapsedTime": {
    object (Duration)
  }
}
字段
xmlSource

object ( FileReference )

如果此测试套件是从 XML 解析的,则这是存储原始 XML 文件的 URI。

注意:多个测试套件可以共享同一个 xmlSource

如果不支持 uri 格式,则返回 INVALID_ARGUMENT。

  • 在创建/响应中:可选
  • 在更新请求中:从不
name

string

测试套件的名称。

  • 在创建/响应中:始终设置
  • 在更新请求中:从不
totalCount

integer

测试用例的数量,通常由服务通过解析 xmlSource 设置。

  • 在创建/响应中:始终设置
  • 在更新请求中:从不
failureCount

integer

失败的测试用例数,通常由服务通过解析 xmlSource 设置。也可由用户设置。

  • 在创建/响应中:始终设置
  • 在更新请求中:从不
errorCount

integer

错误的测试用例数,通常由服务通过解析 xmlSource 设置。

  • 在创建/响应中:始终设置
  • 在更新请求中:从不
skippedCount

integer

未运行的测试用例数,通常由服务通过解析 xmlSource 设置。

  • 在创建/响应中:始终设置
  • 在更新请求中:从不
flakyCount

integer

易碎测试用例的数量,由服务通过汇总易碎测试尝试设置。

仅用于环境级别的汇总测试套件概述。一个步骤不能有不稳定的测试用例。

elapsedTime

object ( Duration )

测试套件的经过时间。