Below are the logs for the last step when I am trying to run Android Instrumentation test cases with Bitrise.
------------------------------------------------------------------------------+
It seems that in the Test runner class input field you used androidx.test.runner.AndroidJUnit4 This class is deprecated, you should
use androidx.test.ext.junit.runners.AndroidJUnit4 instead.
Let me know if this helps!
Thanks @Roland-Bak for getting back.
Can you please let me know how did you found out the issue because as per the logs I was not able to figure out the exact issue. Is there a better way to figure out the errors?
I am asking this because now I am getting some other error. Want to know exactly how to check for error details.
±-----------------------------------------------------------------------------+
UseOrchestrator: false
Uploading app and test files
=> Files uploaded
Starting test
=> Test started
Waiting for test results
Validating
(1/1) running
(0/1) running
=> Test finished
Test results:
Model API Level Locale Orientation Outcome
Nexus10 22 en portrait failure
Downloading test assets
=> Assets downloaded
The downloaded test assets path (/tmp/vdtesting_test_assets240576362) is exported to the VDTESTING_DOWNLOADED_FILES_DIR environment variable.
| |
±â±--------------------------------------------------------------±---------+
| x | virtual-device-testing-for-android@1.1.1 (exit code: 1) | 3.6 min |
±â±--------------------------------------------------------------±---------+
| Issue tracker: âŠse-steplib/steps-virtual-device-testing-for-android/issues |
| Source: âŠthub.com/bitrise-steplib/steps-virtual-device-testing-for-android |
±â±--------------------------------------------------------------±---------+