run adb command after Espresso test (feature request ?)
See original GitHub issueFirst of all, thank you for the action.
For example
- name: Android Emulator test
uses: ReactiveCircus/android-emulator-runner@v2.8.0
with:
api-level: 28
disable-animations: true
arch: x86_64
profile: Nexus 6
script: ./gradlew cAT
Sometimes a process crashes
Starting 0 tests on test(AVD) - 9 Tests on test(AVD) - 9 failed: Instrumentation run failed due to ‘Process crashed.’
and I want to upload output of adb logcat
, especial on a crash.
Does someone has a clue, how to do this ? Or is this a simple feature request to run a custom command after action ?
Thank you
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Kaspresso and ADB server. Hello everyone! - ProAndroidDev
The Run tests command is received from the computer via ADB. The application and the Test APK communicate with each other. As we...
Read more >Send emulator console commands during Espresso test
You can try InstrumentationRegistry.getInstrumentation().getUiAutomation() .executeShellCommand("dumpsys battery set level 30");.
Read more >Useful ADB Commands For Android Testing - TestProject
A tutorial on several ADB commands to improve your productivity when developing or testing Android apps manually or automatically.
Read more >Android Debug Bridge (adb) - Android Developers
Android Debug Bridge ( adb ) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a...
Read more >Run specific Android Espresso tests by creating custom ...
Android framework provides many command line to filter tests while using adb shell am instrument . But if we want to run automation...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just for the records, this is the final way I go without color noise
Thank you !
I’m going to close this issue now. Please feel free to re-open or create another one if you run into other issues 😃