Sapienz: multi-objective automated testing for Android applications
Ke Mao, Mark Harman, Yue Jia · International Symposium on Software Testing and Analysis · 2016
We introduce Sapienz, an approach to Android testing that uses multi-objective search-based testing to automatically explore and optimise test sequences, minimising length, while simultaneously maximising coverage and fault revelation. Sapienz combines random fuzzing, systematic and search-based exploration, exploiting seeding and multi-level instrumentation. Sapienz significantly outperforms (with large effect size) both the state-of-the-art technique Dynodroid and the widely-used tool, Android Monkey, in 7/10 experiments for coverage, 7/10 for fault detection and 10/10 for fault-revealing sequence length. When applied to the top 1,000 Google Play apps, Sapienz found 558 unique, previously unknown crashes. So far we have managed to make contact with the developers of 27 crashing apps. Of these, 14 have confirmed that the crashes are caused by real faults. Of those 14, six already have developer-confirmed fixes.
Cited by 541 works. doi:10.1145/2931037.2931054 Open-access PDF
Authors
References
- A fast and elitist multiobjective genetic algorithm: NSGA-II
- A Generalized Kruskal-Wallis Test for Comparing K Samples Subject to Unequal Patterns of Censorship
- A Comparison of Web and Mail Survey Response Rates
- Guide to the Software Engineering Body of Knowledge - SWEBOK
- DEAP: evolutionary algorithms made easy
- Dynodroid: an input generation system for Android apps
- The Oracle Problem in Software Testing: A Survey
- Search-based software engineering
- A practical guide for using statistical tests to assess randomized algorithms in software engineering
- Using GUI ripping for automated testing of Android applications