Search-Based Automated Play Testing of Computer Games: A Model-Based Approach

被引:14
作者
Ferdous, Raihana [1 ]
Kifetew, Fitsum [1 ]
Prandi, Davide [1 ]
Prasetya, I. S. W. B. [2 ]
Shirzadehhajimahmood, Samira [2 ]
Susi, Angelo [1 ]
机构
[1] Fdn Bruno Kessler, Trento, Italy
[2] Univ Utrecht, Utrecht, Netherlands
来源
SEARCH-BASED SOFTWARE ENGINEERING (SSBSE 2021) | 2021年 / 12914卷
基金
欧盟地平线“2020”;
关键词
Game play testing; Search-based testing; Model-based testing;
D O I
10.1007/978-3-030-88106-1_5
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Computer game technology is increasingly more complex and applied in a wide variety of domains, beyond entertainment, such as training and educational scenarios. Testing games is a difficult task requiring a lot of manual effort since the interaction space in the game is very fine grained and requires a certain level of intelligence that cannot be easily automated. This makes testing a costly activity in the overall development of games. This paper presents a model-based formulation of game play testing in such a way that search-based testing can be applied for test generation. An abstraction of the desired game behaviour is captured in an extended finite state machine (EFSM) and search-based algorithms are used to derive abstract tests from the model, which are then concretised into action sequences that are executed on the game under test. The approach is implemented in a prototype tool EvoMBT. We carried out experiments on a 3D game to assess the suitability of the approach in general, and search-based test generation in particular. We applied 5 search algorithms for test generation on three different models of the game. Results show that search algorithms are able to achieve reasonable coverage on models: between 75% and 100% for the small and medium sized models, and between 29% and 56% for the bigger model. Mutation analysis shows that on the actual game application tests kill up to 99% of mutants. Tests have also revealed previously unknown faults.
引用
收藏
页码:56 / 71
页数:16
相关论文
共 13 条
[1]   Genre and game studies: Toward a critical approach to video game genres [J].
Apperley, Thomas H. .
SIMULATION & GAMING, 2006, 37 (01) :6-23
[2]   Automated Video Game Testing Using Synthetic and Humanlike Agents [J].
Ariyurek, Sinan ;
Betin-Can, Aysu ;
Surer, Elif .
IEEE TRANSACTIONS ON GAMES, 2021, 13 (01) :50-67
[3]  
Binder R.V., 2000, AW OBJ TECHNOL S
[4]  
CHENG KT, 1993, ACM IEEE D, P86
[5]  
Fraser G., 2011, P 19 ACM SIGSOFT S 1, P416, DOI [10.1145/2025113.2025179, DOI 10.1145/2025113.2025179]
[6]   Automated Playtesting With Procedural Personas Through MCTS With Evolved Heuristics [J].
Holmgard, Christoffer ;
Green, Michael Cerny ;
Liapis, Antonios ;
Togelius, Julian .
IEEE TRANSACTIONS ON GAMES, 2019, 11 (04) :352-362
[7]  
Iftikhar S, 2015, 2015 ACM/IEEE 18TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS), P426, DOI 10.1109/MODELS.2015.7338274
[8]   An integrated search-based approach for automatic testing from extended finite state machine (EFSM) models [J].
Kalaji, Abdul Salam ;
Hierons, Robert Mark ;
Swift, Stephen .
INFORMATION AND SOFTWARE TECHNOLOGY, 2011, 53 (12) :1297-1318
[9]   Search-based software test data generation: a survey [J].
McMinn, P .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2004, 14 (02) :105-156
[10]   Aplib: Tactical Agents for Testing Computer Games [J].
Prasetya, I. S. W. B. ;
Dastani, Mehdi ;
Prada, Rui ;
Vos, Tanja E. J. ;
Dignum, Frank ;
Kifetew, Fitsum .
ENGINEERING MULTI-AGENT SYSTEMS (EMAS 2020), 2020, 12589 :21-41