Fuzzy and cross-app replay for smartphone apps

Yongjian Hu, Iulian Neamtiu

Research output: Chapter in Book/Report/Conference proceedingConference contribution

8 Scopus citations

Abstract

The behavior of smartphone apps is driven by input from sensors such as GPS, microphone, or camera. Hence the ability to construct test inputs, and send these inputs to the app is essential for testing. Leveraging our prior results in recording and replaying sensor inputs in Android apps we have constructed a new approach that helps automate smartphone app testing by capturing the input log (sensor stream) and using this log in two ways. First, we fuzz (alter) the log in a semantically-meaningful way: by applying principled transformations (e.g., changing GPS coordinates or navigation speed), a new input log is constructed, which represents a new test case. Second, we use the log captured in app A to test an app B which offers similar functionality, e.g., GPS navigation or image recognition. We have applied our approach to several widely-used Android apps and found that the approach is effective: it has revealed new bugs in four popular apps; has produced new test cases that increase coverage; and has produced test cases from logs originating in other apps.

Original languageEnglish (US)
Title of host publicationProceedings - 11th International Workshop on Automation of Software Test, AST 2016
PublisherAssociation for Computing Machinery, Inc
Pages50-56
Number of pages7
ISBN (Electronic)9781450341516
DOIs
StatePublished - May 14 2016
Event11th International Workshop on Automation of Software Test, AST 2016 - Austin, United States
Duration: May 14 2016May 15 2016

Publication series

NameProceedings - 11th International Workshop on Automation of Software Test, AST 2016

Other

Other11th International Workshop on Automation of Software Test, AST 2016
CountryUnited States
CityAustin
Period5/14/165/15/16

All Science Journal Classification (ASJC) codes

  • Software

Keywords

  • App testing
  • Google Android
  • Mobile applications
  • Physical sensors
  • Record-and-replay

Fingerprint Dive into the research topics of 'Fuzzy and cross-app replay for smartphone apps'. Together they form a unique fingerprint.

Cite this