How do you use monkey
and monkeyrunner
tools for android testing?
What are the basic commands needed?
These three steps should help you set it up:
1 ) Get inside this directory - ~/Android/Sdk/platform-tools
2) Start server - ./adb start-server
3) Command to test 5000 random keystrokes in your app - ./adb shell monkey -p your.package.name -v 500
For more information check this out. https://developer.android.com/studio/test/monkey.html