Dexter icon indicating copy to clipboard operation
Dexter copied to clipboard

Create a monkey runner test to see that the application doesn't crash randomly

Open Serchinastico opened this issue 8 years ago • 1 comments

In the latest versions of Dexter we had some crashes caused by NPEs. We have to evaluate the cost of creating a monkey runner test that runs the sample app and do some interactions at random to discover automatically those issues.

Serchinastico avatar Feb 01 '17 10:02 Serchinastico

I think the monkey command tool could do the job

adb shell monkey -p com.karumi.dexter.sample --ignore-crashes --kill-process-after-error --ignore-timeouts --ignore-security-exceptions --pct-nav 70 --pct-majornav 15 --pct-touch 5 --pct-trackball 5 --pct-motion 5 -s 1000 10000

ivannarino avatar May 07 '17 10:05 ivannarino