2017 · 363 citations · 43 references
ComputingComputer ScienceInformation TechnologyMobile ComputingSoftware EngineeringStochastic ModelingMobile Application DevelopmentMobile Application Reverse EngineeringMobile User ExperienceSoftware ModelingSoftware TestingTestbenchesAndroid Application AnalysisApplication Programming Interface TestingCoverageDynamic Behavioral AnalysisMobile App TestingMobile Application Quality AssuranceModel-based Testing
Mobile apps are ubiquitous and developed under tight time‑to‑market pressure, making correctness and reliability a critical challenge. The paper introduces Stoat, a guided stochastic model‑based testing approach for Android apps. Stoat first reverse‑engineers a stochastic GUI model using dynamic and static analysis, then iteratively refines it with Gibbs sampling to guide test generation toward high coverage and diverse sequences, while injecting random system events during testing.
Mobile apps are ubiquitous, operate in complex environments and are developed under the time-to-market pressure. Ensuring their correctness and reliability thus becomes an important challenge. This paper introduces Stoat, a novel guided approach to perform stochastic model-based testing on Android apps. Stoat operates in two phases: (1) Given an app as input, it uses dynamic analysis enhanced by a weighted UI exploration strategy and static analysis to reverse engineer a stochastic model of the app's GUI interactions; and (2) it adapts Gibbs sampling to iteratively mutate/refine the stochastic model and guides test generation from the mutated models toward achieving high code and model coverage and exhibiting diverse sequences. During testing, system-level events are randomly injected to further enhance the testing effectiveness.
43
An Introduction to MCMC for Machine Learning
Christophe Andrieu, Nando de Freitas, Arnaud Doucet et al. · Machine Learning · 2003 · 2.4K citations · Full text
Dynodroid: an input generation system for Android apps
Aravind Machiry, Rohan Tahiliani, Mayur Naik · 2013 · 704 citations · Full text
Sapienz: multi-objective automated testing for Android applications
Ke Mao, Mark Harman, Yue Jia · 2016 · 531 citations · Full text
Using GUI ripping for automated testing of Android applications
Domenico Amalfitano, Anna Rita Fasolino, Porfirio Tramontana et al. · 2012 · 515 citations