Search code examples
firebasegcloudtestcasefirebase-test-lab

Retrieve Firebase Testlab testcase


I am triggering UI test in Firebase testlab from Jenkins using Google CLI command. It works all good following instructions from https://firebase.google.com/docs/test-lab/android/continuous#using_with_jenkins_ci .

now i want to get the list of testcases executed so i can use the result for reportinng via Jenkins.

Any Suggesstion or guidance on how to retrieve the test cases will be helpful.


Solution

  • If you wish to retrieve test results programmatically, you have a couple options.

    1. Download the junit XML file(s) from your results bucket.
    2. Access test case data using the Cloud Tool Results API