bitrise-steplib / steps-virtual-device-testing-for-android

MIT License
22 stars 23 forks source link

[Question] How to run Espresso for a particular variant #12

Closed eric-grab closed 6 years ago

eric-grab commented 6 years ago

is there anyway I could choose to run ./gradlew connectedSomeVariantAndroidTest instead of ./gradlew connectedAndroidTest?

trapacska commented 6 years ago

Hey @eric-grab !

AFAIK if you generate the app apk, and the test apk like assembleSomeVariant and assembleSomeVariantAndroidTest instead of assemble and assembleAndroidTest then it should contain the desired test and app details.

trapacska commented 6 years ago

I close this issue now, as it is not an issue with the step itself. Please write your questions on our http://discuss.bitrise.io site to get the best feedbacks asap.

Thank you!