Behavior Driven Development for 3D games

Publication date

2025-11

Authors

Pastor Ricós, Fernando
Marín, Beatriz
Prasetya, WishnuISNI 0000000396460003
Vos, Tanja E.J.
Davidson, Joseph
Hovorka, Karel

Editors

Advisors

Supervisors

Document Type

Article
Open Access logo

License

cc_by

Abstract

Computer 3D games are complex software environments that require novel testing processes to ensure high-quality standards. The Intelligent Verification/Validation for Extended Reality Based Systems (IV4XR) framework addresses this need by enabling the implementation of autonomous agents to automate game testing scenarios. This framework facilitates the automation of regression test cases for complex 3D games like Space Engineers. Nevertheless, the technical expertise required to define test scripts using IV4XR can constrain seamless collaboration between developers and testers. This paper reports how integrating a Behavior-Driven Development (BDD) approach with the IV4XR framework allows the industrial company behind Space Engineers to automate regression testing. The success of this industrial collaboration has inspired the IV4XR team to integrate the BDD approach to improve the automation of play-testing for the experimental 3D game LabRecruits. Furthermore, the IV4XR framework has been extended with tactical programming to enable the automation of long-play test scenarios in Space Engineers. These results underscore the versatility of the IV4XR framework in supporting diverse testing approaches while showcasing how BDD empowers users to create, manage, and execute automated game tests using comprehensive and human-readable statements.

Keywords

3D game testing, Autonomous agents, BDD testing, Information Systems and Management

Citation

Pastor Ricós, F, Marín, B, Prasetya, I S W B, Vos, T E J, Davidson, J & Hovorka, K 2025, 'Behavior Driven Development for 3D games', Data and Knowledge Engineering, vol. 160, 102486. https://doi.org/10.1016/j.datak.2025.102486