MobiGUITAR - A Tool for Automated Model-Based Testing of Mobile Apps
Domenico Amalfitano, Anna Rita Fasolino, Porfirio Tramontana, Bryan Dzung Ta, Atif M. Memon · 2014
As mobile devices become increasingly smarter and more powerful, so too must the engineering of their software. User-interface driven system testing of these devices is gaining popularity, with each vendor releasing some automation tool(s). We feel that these tools are inappropriate for amateur program- mers, an increasing fraction of the app developer population. We present MobiGUITAR for automated GUI-driven testing of Android apps. MobiGUITAR is based on observation, extraction, and abstraction of the run-time state of GUI widgets. The abstraction is a scalable state-machine model that, together with test coverage criteria, provides a way to automatically generate test cases. We apply MobiGUITAR to 4 open-source Android apps, automatically generate and execute 7,711 test cases, and report 10 new bugs. A number of bugs are Android-specific, stemming from the event- and activity-driven nature of Android.