monkey

How to run monkey testing ONLY in application?


How to run monkey testing ONLY in testing application? How can I set border for monkey testing. I don't want that it touches any button out of my testing application.


Solution

  • According to the doc. You can use the option -p to limit your test in specific package.

    Something like this:

    adb shell monkey -p your.package.name -v 500