Automated test input generation for android: Towards getting there in an industrial case

Haibing Zheng, Dengfeng Li, Beihai Liang, Xia Zeng, Wujie Zheng, Yuetang Deng, Wing Lam, Wei Yang, Tao Xie

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

Abstract

Monkey, a random testing tool from Google, has been popularly used in industrial practices for automatic test input generation for Android due to its applicability to a variety of application settings, e.g., ease of use and compatibility with different Android platforms. Recently, Monkey has been under the spotlight of the research community: Recent studies found out that none of the studied tools from the academia were actually better than Monkey when applied on a set of open source Android apps. Our recent efforts performed the first case study of applying Monkey on WeChat, a popular messenger app with over 800 million monthly active users, and revealed many limitations of Monkey along with developing our improved approach to alleviate some of these limitations. In this paper, we explore two optimization techniques to improve the effectiveness and efficiency of our previous approach. We also conduct manual categorization of not-covered activities and two automatic coverage-analysis techniques to provide insightful information about the not-covered code entities. Lastly, we present findings of our empirical studies of conducting automatic random testing on WeChat with the preceding techniques.

Original languageEnglish (US)
Title of host publicationProceedings - 2017 IEEE/ACM 39th International Conference on Software Engineering
Subtitle of host publicationSoftware Engineering in Practice Track, ICSE-SEIP 2017
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages253-262
Number of pages10
ISBN (Electronic)9781538627174
DOIs
StatePublished - Jun 30 2017
Event39th IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice Track, ICSE-SEIP 2017 - Buenos Aires, Argentina
Duration: May 20 2017May 28 2017

Publication series

NameProceedings - 2017 IEEE/ACM 39th International Conference on Software Engineering: Software Engineering in Practice Track, ICSE-SEIP 2017

Other

Other39th IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice Track, ICSE-SEIP 2017
CountryArgentina
CityBuenos Aires
Period5/20/175/28/17

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality
  • Organizational Behavior and Human Resource Management

Fingerprint Dive into the research topics of 'Automated test input generation for android: Towards getting there in an industrial case'. Together they form a unique fingerprint.

Cite this