Skip to main navigation Skip to search Skip to main content

A Lightweight Approach of Human-Like Playtest for Android Apps

  • Yan Zhao
  • , Enyi Tang
  • , Haipeng Cai
  • , Xi Guo
  • , Xiaoyin Wang
  • , Na Meng
  • Virginia Polytechnic Institute and State University
  • Nanjing University
  • University of Science and Technology Beijing
  • University of Texas at San Antonio

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

7 Scopus citations

Abstract

A play test is the process in which testers play video games for software quality assurance. Manual testing is expensive and time-consuming, especially when there are many mobile games to test and every game version requires extensive testing. Current testing frameworks (e.g., Android Monkey) are limited as they adopt no domain knowledge to play games. Learning-based tools (e.g., Wuji) require tremendous manual effort and ML expertise of developers. This paper presents LIT-a lightweight approach to generalize play test tactics from manual testing, and to adopt the tactics for automatic testing. Lit has two phases: tactic generalization and tactic concretization. In Phase I, when a human tester plays an Android game G for a while (e.g., eight minutes), Lit records the tester's inputs and related scenes. Based on the collected data, Lit infers a set of context-aware, abstract play test tactics that describe under what circumstances, what actions can be taken. In Phase II, LIttests G based on the generalized tactics. Namely, given a randomly generated game scene, Lit tentatively matches that scene with the abstract context of any inferred tactic; if the match succeeds, Lit customizes the tactic to generate an action for playtest. Our evaluation with nine games shows Lit to outperform two state-of-the-art tools and a reinforcement learning (RL)-based tool, by covering more code and triggering more errors. Lit complements existing tools and helps developers test various casual games (e.g., match3, shooting, and puzzles).

Original languageEnglish
Title of host publicationProceedings - 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages309-320
Number of pages12
ISBN (Electronic)9781665437868
DOIs
StatePublished - 2022
Event29th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2022 - Virtual, Online, United States
Duration: Mar 15 2022Mar 18 2022

Publication series

NameProceedings - 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2022

Conference

Conference29th IEEE International Conference on Software Analysis, Evolution and Reengineering, SANER 2022
Country/TerritoryUnited States
CityVirtual, Online
Period03/15/2203/18/22

Keywords

  • automated game testing
  • playtest
  • tactic concretization
  • tactic gener-alization

Fingerprint

Dive into the research topics of 'A Lightweight Approach of Human-Like Playtest for Android Apps'. Together they form a unique fingerprint.

Cite this