1 2 3 4 5
ape-bin/ ape-bin/ape.jar ape-bin/ape.py ape-bin/install.py ape-bin/README.md
Just copy the
ape.jar to the phone.
adb push ape.jar /data/local/tmp/
We provided a
libart.so for x86 emulators to collect coverage without instrumentation.
That means, you can use this tool to collect coverage for apps such as Google Doc to evaluate your tools.
We provide a python script (i.e.,
ape.py) to facilitate running ape on Android platform.
The following command starts to run Ape to test the Calculator on a real device connected via
./ape.py -p com.google.android.calculator --running-minutes 100 --ape sata
ape.py if you want to run Ape with an emulator.
You should at least remove the
-d options for
-p: specify the package name, the same as Monkey
--running-minutes: the total testing time in minutes
--ape sata: use the default exploration strategy described in the paper.
random, and reinforcement learning enhanced random (
apeare supported now.
You can also specify the total amount of Monkey events. In this mode, Ape will stop by default once there is a crash.
./ape.py -p com.google.android.calculator --ape sata 1000
Screenshot is disabled by default to save space.
We provide a tool to visualize the model.
adb pull /sdcard/your-output-folderto your local directory.
vis.htmlin your browser.
Now we can check the timeline.
We thank the following experts for their insightful comments on Ape.