EHBDroid is an effective and efficient Android Testing tool based on the idea of "event-handler-based" testing. Please cite the following paper if you use this tool:
How to run EHBDroid?
1. Run EHBDroid/Instrument App
Git clone this repo/project
Import this project into IntelliJ IDEA
Make sure ANDROID_SDK is set
- Put your-apk under EHBDroid/benchmark/
- replace EHBDroid/src/com/app/test/AppDir#APPNAME to your-apk name
The instrumented apk will be under EHBDroid/output/
3. Sign and install
Start an emulator/device
cd EHBDroid/output/, run ./test.sh(Unix) or test.bat(Window). It will sign and install the instrumented-apk on the emulator/device.
There are two ways to play with EHBDroid.
Way 1 -- Manually
Way 2 -- EHBScript
sh run.sh or python run.py
- uTest, sTest and iTest on the menu represent UI event testing, service event testing and inter-app event testing.