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

MIT License
22 stars 23 forks source link

Suggestion: include note to add `assembleDebugAndroidTest` to Gradle Runner #18

Closed mikemee closed 6 years ago

mikemee commented 6 years ago

TL;DR: Please add a note that assembleDebugAndroidTest needs to be added to Gradle Runner for this step to work.

As a new user, I banged my head against this for a while.

Essentially my flow was:

Then I kept getting an error:

Issue with TestApkPath: parameter not specified

After much head banging and many test runs, in digging around the archives I found the suggestion to add this to the Gradle Runner step:

assembleDebugAndroidTest

So I did that, and magic happened!

I.e. my Gradle Runner config is now:

- gradle-runner:
    inputs:
    - gradle_file: "$GRADLE_BUILD_FILE_PATH"
    - gradle_task: assembleDebug assembleDebugAndroidTest
    - gradlew_path: "$GRADLEW_PATH"
doomsayer13 commented 6 years ago

Hi @mikemee, Thanks for reporting an issue, we'll check it ASAP.

trapacska commented 6 years ago

Hey @mikemee

The new version of the step now contains your suggestion, thanks! https://github.com/bitrise-steplib/steps-virtual-device-testing-for-android/releases/tag/1.0.2

Happy Building! 🚀