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: Wei Song, Xiangxing Qian, and Jeff Huang. EHBDroid: Beyond GUI Testing for Android Applications. ASE 2017.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
EHBDroid
EHBScript
EHBDroid.pdf
README.md

README.md

EHBDorid

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:

Wei Song, Xiangxing Qian, and Jeff Huang. EHBDroid: Beyond GUI Testing for Android Applications. ASE 2017.

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

  • Setup

    • Put your-apk under EHBDroid/benchmark/
    • replace EHBDroid/src/com/app/test/AppDir#APPNAME to your-apk name
  • run EHBDroid/src/com/app/test/Main.java

2. Output

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.

4. Explore

There are two ways to play with EHBDroid.

Way 1 -- Manually

  • start app

  • click menu

  • click uTest

Way 2 -- EHBScript

  • cd EHBScript

  • sh run.sh or python run.py

Some issues

  1. uTest, sTest and iTest on the menu represent UI event testing, service event testing and inter-app event testing.