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

MIT License
22 stars 23 forks source link

Failed to get test status, error: Failed to get test status: INVALID(NO_INSTRUMENTATION) #17

Closed danvinokour closed 6 years ago

danvinokour commented 6 years ago

i am using the latest version 1.0.1. configured the project as was suggested by running a task with assembleDebug assembleDebugAndroidTest flags. this is the configuration form the yml file:

couldn't figure out why this is failing.

viktorbenei commented 6 years ago

Thanks for reporting @danvinokour , we'll try to look into it ASAP! If it's possible, could you please copy paste the related build's bitrise.io URL, so that we can check the whole log which could make the debugging faster?

danvinokour commented 6 years ago

Sure, https://www.bitrise.io/build/f6819ff19f2a2421 Thanks!

trapacska commented 6 years ago

Hey @danvinokour !

You have set TestableAndroidJUnitRunner as test runner, but not this is how you should set runner. It should be something like: android.support.test.runner.AndroidJUnitRunner.

Closing the issue as it is not an issue related to the step itself. Please let us know if you encounter anything else.

hafs-r commented 5 years ago

Use 'Android Build for UI Testing' before Virtual device step this will solve your problem.