Model-Based Testing Computer Games: Does It Work?

Publication date

2025-04-04

Authors

Prasetya, I. S.W.B.ISNI 0000000396460003

Editors

Fasolino, Anna Rita
Panichella, Sebastiano
Aleti, Aldeida
Mesbah, Ali

Advisors

Supervisors

Document Type

Part of book
Open Access logo

License

taverne

Abstract

Model-based testing (MBT) allows a target software to be tested systematically and automatically by making use of a model of the software under test. It has been successfully applied in various domains. However its application for testing computer games has not been much studied. The highly dynamic nature of computer games makes it challenging for modeling. In this paper we propose a predicate-based modeling approach coupled with an on-line test generation approach. Both aspects ease the details that need to be incorporated in the model to facilitate effective test generation. Additionally we also leverage the use of intelligent agents, so that dealing with hazards and obstacles can optionally be delegated to such an agent, hence keeping the model clean from such aspects. A case study with a game called MiniDungeon is included to discuss the viability and benefit of the approach, e.g. in terms of code coverage and ability to cover deep states.

Keywords

automated testing computer games, MBT computer games, model based testing computer games, online model based testing, Taverne, Computer Science Applications, Human-Computer Interaction, Software, Safety, Risk, Reliability and Quality, Artificial Intelligence

Citation

Prasetya, I S W B 2025, Model-Based Testing Computer Games : Does It Work? in A R Fasolino, S Panichella, A Aleti & A Mesbah (eds), 2025 IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2025. 2025 IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2025, IEEE, pp. 85-92, 18th IEEE International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2025, Naples, Italy, 31/03/25. https://doi.org/10.1109/ICSTW64639.2025.10962518, conference