We have recently written android macrobenchmark tests for our app. Google has some guidelines on how to integrate this with a CI; unfortunately, but unsurprisingly no mention of Bitrise. However, the key issue is in building the app for UI tests since we need to build the app a little differently than what is provided by Android Build for UI Testing step. This step will build two apks with the same module name, for example:
:app:assembleDemoDebugAndroidTest, but what we actually need for benchmarking is
:macrobenchmark:assembleDemo as described in Google’s docs which is currently not possible in this step. I’m not even sure how to build some workaround, so I’ll be happy for any suggestions, thank you.