Model-Based Testing Computer Games: Does It Work?
Description
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.
Files
icstcomp25amost-id209-p-969d490854-100037-preprint.pdf
Files
(948.3 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:d64bcc043d573f49ef14de8ffed20d33
|
948.3 kB | Preview Download |
Additional details
Funding
- European Commission
- iv4xr 856716
Dates
- Accepted
-
2025-03