A Behavior-Driven Development and Reinforcement Learning Approach for Videogame Automated Testing


연구 분야: Software Development



학회: 2024 IEEE/ACM 8th International Workshop on Games and Software Engineering (GAS)


초록

Video game development has undergone a significant transformation in the last decade, with modern games becoming increasingly complex and sophisticated. Testing these games for quality assurance is challenging and time-consuming, often relying on manual testers. In this paper, we introduce an automated testing approach that combines Behavior-Driven Development (BDD) with Reinforcement Learning (RL) to streamline the testing process. We present a framework that uses natural language-based test cases to describe game behaviors and expected outcomes, combined with RL, to test games automatically. We validated our approach through tests on four distinct Python-based games. We analyzed the impact of game complexity on training duration and discussed the challenges of defining optimal reward functions. Our framework provides a structured approach to address RL complexities, simplifying the process of creating test scenarios. Combining BDD and RL offers a promising solution to test complex modern video games more efficiently and ensure higher game quality upon release.


Author Profile
Vincent Mastain

CY Tech Cergy France

Cyprus
Author Profile
Fabio Petrillo

École de Technologie Supérieure (ÉTS) Montréal Canada

Canada

📄 논문 정보

발행 연도 2024년
인용수 1
출판 국가 Canada, Cyprus
사이트 IEEE
좋아요 수 0

연관 논문 목록 (94건)