Domenico Amalfitano , University Federico II of Naples, Naples
Anna Rita Fasolino , University Federico II of Naples, Naples
Porfirio Tramontana , University Federico II of Naples, Naples
Bryan Ta , University of Maryland, College Park
Atif Memon , University of Maryland, College Park
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/MS.2014.55
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 posit that these tools are inappropriate for amateur programmers, which are an increasing fraction of the app developer population. We present MobiGUITAR, a technique for automated GUI-driven testing of Android apps. MobiGUITAR is based on the observation, extraction, and abstraction of the run-time state of GUI widgets. The abstraction is used to create 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. We observe that a number of bugs are "Android-specific," stemming from the event- and activity-driven nature of Android.
Domenico Amalfitano, Anna Rita Fasolino, Porfirio Tramontana, Bryan Ta, Atif Memon, "MobiGUITAR -- A Tool for Automated Model-Based Testing of Mobile Apps", IEEE Software, , no. 1, pp. 1, PrePrints PrePrints, doi:10.1109/MS.2014.55