The Community for Technology Leaders
2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) (2017)
Urbana, IL, USA
Oct. 30, 2017 to Nov. 3, 2017
ISBN: 978-1-5386-3976-4
pp: 4-15
Li Lyna Zhang , University of Science and Technology of China, China
Chieh-Jan Mike Liang , Microsoft Research, China
Yunxin Liu , Microsoft Research, China
Enhong Chen , University of Science and Technology of China, China
ABSTRACT
Contrary to popular belief, mobile apps can spend a large fraction of time running "hidden" as background services. And, bugs in services can translate into crashes, energy depletion, device slow-down, etc. Unfortunately, without necessary testing tools, developers can only resort to telemetries from user devices in the wild. To this end, Snowdrop is a testing framework that systematically identifies and automates background services in Android apps. Snowdrop realizes a service-oriented approach that does not assume all inter-component communication messages are explicitly coded in the app bytecode. Furthermore, to improve the completeness of test inputs generated, Snowdrop infers field values by exploiting the similarity in how developers name variables. We evaluate Snowdrop by testing 848 commercially available mobile apps. Empirical results show that Snowdrop can achieve 20.91% more code path coverage than pathwise test input generators, and 64.11% more coverage than random test input generators.
INDEX TERMS
Testing, Androids, Humanoid robots, Tools, Mobile communication, Generators, Telemetry
CITATION

L. L. Zhang, C. M. Liang, Y. Liu and E. Chen, "Systematically testing background services of mobile apps," 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE), Urbana, IL, USA, 2017, pp. 4-15.
doi:10.1109/ASE.2017.8115613
210 ms
(Ver 3.3 (11022016))