检索Firebase Testlab测试用例

问题描述

我正在使用Google CLI命令从Jenkins触发Firebase testlab中的UI测试。它可以按照https://firebase.google.com/docs/test-lab/android/continuous#using_with_jenkins_ci中的所有良好指示进行操作。

现在我想获取已执行的测试用例列表,以便可以通过Jenkins将结果用于reportinng。

有关如何检索测试用例的任何建议或指南将很有帮助。

解决方法

如果您希望以编程方式检索测试结果,则有两种选择。

  1. 从结果存储区下载junit XML文件。
  2. 使用Cloud Tool Results API
  3. 访问测试用例数据