arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2102.13026cs.SE
收藏

一种轻量级的类人游戏测试方法

A Lightweight Approach of Human-Like Playtesting

Yan Zhao, Weihao Zhang, Enyi Tang, Haipeng Cai, Xi Guo, Na Meng

摘要:

游戏测试是招募人类测试人员玩视频游戏并揭示软件错误的过程。手动测试既昂贵又耗时,特别是当有许多手机游戏需要测试,并且每个软件版本在发布之前都需要进行大量测试时。现有的测试框架(例如,Android Monkey)是有限的,因为它们没有采用领域知识来玩游戏。基于学习的工具(例如,无极)在测试任何游戏之前都涉及到大量的训练数据和计算。本文介绍了LIT -我们的轻量级方法,概括了游戏测试策略,从手工测试,并采用广义的策略,自动化游戏测试。LIT包括两个阶段。在阶段I中,当人类在短时间段内玩Android游戏应用G时(例如,八分钟),\tool记录用户的动作(例如,在每一个动作之前的场景。基于收集的数据,LIT概括出一组\emph{context-aware, abstract playtesting tactics},描述在什么情况下,可以采取什么行动来玩游戏。在第二阶段,LIT测试G的基础上推广的策略。也就是说,给定一个随机生成的游戏场景,LIT搜索任何推断策略的抽象上下文的匹配;如果有匹配,LIT定制策略并生成一个可行的事件来玩游戏。我们对九款游戏的评估显示,LIT的表现优于两款最先进的工具。这意味着通过自动化播放测试,LIT将大大减少手动测试并提高游戏应用程序的质量。

英文摘要:

A playtest is the process in which human testers are recruited to play video games and to reveal software bugs. Manual testing is expensive and time-consuming, especially when there are many mobile games to test and every software version requires for extensive testing before being released. Existing testing frameworks (e.g., Android Monkey) are limited because they adopt no domain knowledge to play games. Learning-based tools (e.g., Wuji) involve a huge amount of training data and computation before testing any game. This paper presents LIT -- our lightweight approach to generalize playtesting tactics from manual testing, and to adopt the generalized tactics to automate game testing. LIT consists of two phases. In Phase I, while a human plays an Android game app G for a short period of time (e.g., eight minutes), \tool records the user's actions (e.g., swipe) and the scene before each action. Based on the collected data, LIT generalizes a set of \emph{context-aware, abstract playtesting tactics} which describe under what circumstances, what actions can be taken to play the game. In Phase II, LIT tests G based on the generalized tactics. Namely, given a randomly generated game scene, LIT searches match for the abstract context of any inferred tactic; if there is a match, LIT customizes the tactic and generates a feasible event to play the game. Our evaluation with nine games shows LIT to outperform two state-of-the-art tools. This implies that by automating playtest, LIT will significantly reduce manual testing and boost the quality of game apps.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑