Possibility to download results from "Virtual Device Testing for Android" step

About the Virtual Device Testing for Android step, would be great to get the test results in some format (preferably JUnit XML). Similar to running the unit tests using Gradle Unit Test step.

My use case is the following:
I’m archiving the test results in xml format, downloading them using Bitrise API and feeding them to a test report tool such as Allure to create meaningful reports. It’s already possible for the unit tests. However, for the instrumentation tests that are run by Virtual Device Testing for Android step, I do not see the result in any format other than on the Bitrise build page under VIRTUAL DEVICE TESTS tab.

https://github.com/TestArmada/flank has support for pulling the JUnit XML from FTL.

1 Like

Cool, are you using it on Bitrise? Just wondering how if it’s possible to run it as a workflow step.

1 Like

Yes, use a script step. Flank can be invoked from bash.


Great! Do you have an example?

Join us in #flank on the Firebase Test Lab Slack! :slight_smile:


The same command you use to run Flank locally works on Bitrise.

1 Like

Thanks, I’ll try that :slight_smile:


You can see in the attached screenshot that the xml result file is available from VDT step.
Would it be possible to archive it as an artifact to be able to access it through Bitrise API?

Not possible right now, but something we’re definitely considering (adding VDT related endpoints to the API).

Hey @paymand!

Could you please try enabling the Download files option, and then look around in the $VDTESTING_DOWNLOADED_FILES_DIR directory? It might be there. Please let me know!


Works well. please feel free to close as fixed. Thanks a lot :slight_smile:

1 Like

Thanks for the #feature-request @paymand! :wink:

This topic was automatically closed after 13 days. New replies are no longer allowed.