Proceedings

Using Planning for Automated Testing of Video Games

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Demo Track. Pages 11004-11008.

https://doi.org/10.24963/ijcai.2025/1250

Abstract

In this demonstration, we present a system that automates regression testing for video games using automated planning techniques. Traditional test scripts are a common method for testing both video games and software in general. While effective, they require manual creation and frequent updates throughout development, making the process labor-intensive. Our system eliminates this burden by automatically generating and maintaining test scripts. The test engineer only needs to define the game’s rules using the Planning Domain Definition Language (PDDL) and specify initial states and goals for individual test cases. This significantly reduces human effort while ensuring test scripts remain up to date. Additionally, our system integrates with game engine editors—supporting both Unity and Unreal to execute and evaluate test cases directly within the game. It collects detailed logs, telemetry data, and video recordings, allowing users to review test results efficiently.

  1. [Aineto et al., 2019] Diego Aineto, Sergio Jiménez Celorrio, and Eva Onaindia. Learning action models with minimal observability. Artificial Intelligence, 275:104-137, 2019.
  2. [Ariyurek et al., 2019] Sinan Ariyurek, Aysu Betin-Can, and Elif Surer. Automated video game testing using synthetic and humanlike agents. IEEE Transactions on Games, 13(1):50-67, 2019.
  3. [Balyo et al., 2024a] Tomáš Balyo, Martin Suda, Lukáš Chrpa, Dominik Šafránek, Stephan Gocht, Filip Dvořák, Roman Barták, and G Michael Youngblood. Planning do- main model acquisition from state traces without action parameters. In Proceedings of the International Conference on Principles of Knowledge Representation and Reasoning, volume 21, pages 812-822, 2024.
  4. [Balyo et al., 2024b] Tomáš Balyo, G Michael Youngblood, Filip Dvořák, and Roman Barták. On automating video game testing by planning and learning. arXiv preprint arXiv:2402.12393, 2024.
  5. [Bohemia Interactive, 2025] Bohemia Interactive. Silica game. https://silicagame.com/, 2025. Accessed: 2025- 05-15. Link
  6. [Callanan et al., 2022] Ethan Callanan, Rebecca De Venezia, Victoria Armstrong, Alison Paredes, Tathagata Chakraborti, and Christian Muise. Macq: a holistic view of model acquisition techniques. arXiv preprint arXiv:2206.06530, 2022.
  7. [Chung et al., 2005] Michael Chung, Michael Buro, and Jonathan Schaeffer. Monte carlo planning in rts games. In Proceedings of the 2005 IEEE Symposium on Computa- tional Intelligence and Games (CIG05). IEEE, 01 2005.
  8. [Duarte et al., 2020] Fernando Fradique Duarte, Nuno Lau, Artur Pereira, and Luis Paulo Reis. A survey of planning and learning in games. Applied Sciences, 10(13):4529, 2020.
  9. [Epic Games, 2025a] Epic Games. Lyra starter game -un- real engine marketplace. https://www.unrealengine.com/ marketplace/learn/lyra, 2025. Accessed: 2025-05-15. Link
  10. [Epic Games, 2025b] Epic Games. Unreal engine. https:// www.unrealengine.com/en-US, 2025. Accessed: 2025-05- 15. Link
  11. [Ferdous et al., 2021a] Raihana Ferdous, Fitsum Kifetew, Da- vide Prandi, I. S. W. B. Prasetya, Samira Shirzadehhajimah- mood, and Angelo Susi. Search-based automated play testing of computer games: A model-based approach. In Search-Based Software Engineering: 13th International Symposium, SSBSE 2021, Bari, Italy, October 11-12, 2021, Proceedings, page 56-71, Berlin, Heidelberg, 2021. Springer-Verlag. [Ferdous et al., 2021b] Raihana Ferdous, Fitsum Kifetew, Da- vide Prandi, ISWB Prasetya, Samira Shirzadehhajimah- mood, and Angelo Susi. Search-based automated play testing of computer games: A model-based approach. In International Symposium on Search Based Software Engi- neering, pages 56-71. Springer, 2021.
  12. [Ferdous et al., 2022] Raihana Ferdous, Fitsum Kifetew, Da- vide Prandi, and Angelo Susi. Towards agent-based testing of 3d games using reinforcement learning. In Proceed- ings of the 37th IEEE/ACM International Conference on Automated Software Engineering, pages 1-8, 2022.
  13. [Fikes and Nilsson, 1971] Richard E Fikes and Nils J Nils- son. Strips: A new approach to the application of theorem proving to problem solving. Artificial intelligence, 2(3- 4):189-208, 1971. IJCAI
  14. [Fray, 2023] Andrew Fray. Automated testing roundtables gdc 2023. https://autotestingroundtable.com/, 2023. (Ac- cessed on 12/12/2023). Link
  15. [Ghallab et al., 1998] M. Ghallab, A. Howe, C. Knoblock, D. Mcdermott, A. Ram, M. Veloso, D. Weld, and D. Wilkins. PDDL-The Planning Domain Definition Lan- guage. 1998.
  16. [Hsu et al., 1990] F-h Hsu, Thomas S Anantharaman, Mur- ray S Campbell, and Andreas Nowatzyk. Deep thought. In Computers, Chess, and Cognition, pages 55-78. Springer, 1990.
  17. [Juba et al., 2021] Brendan Juba, Hai S. Le, and Roni Stern. Safe Learning of Lifted Action Models. In Proceedings of the 18th International Conference on Principles of Knowl- edge Representation and Reasoning, pages 379-389, 11 2021.
  18. [McCluskey et al., 2017] Thomas Leo McCluskey, Tiago Ste- gun Vaquero, and Mauro Vallati. Engineering knowledge for automated planning: Towards a notion of quality. In Óscar Corcho, Krzysztof Janowicz, Giuseppe Rizzo, Ilaria Tiddi, and Daniel Garijo, editors, Proceedings of the Knowl- edge Capture Conference, K-CAP 2017, Austin, TX, USA, December 4-6, 2017, pages 14:1-14:8. ACM, 2017.
  19. [Micheli et al., 2025] Andrea Micheli, Arthur Bit-Monnot, Gabriele Röger, Enrico Scala, Alessandro Valentini, Luca Framba, Alberto Rovetta, Alessandro Trapasso, Luigi Bonassi, Alfonso Emilio Gerevini, Luca Iocchi, Felix In- grand, Uwe Köckemann, Fabio Patrizi, Alessandro Saetti, Ivan Serina, and Sebastian Stock. Unified planning: Mod- eling, manipulating and solving ai planning problems in python. SoftwareX, 29:102012, 2025.
  20. [Newell et al., 1972] Allen Newell, Herbert Alexander Si- mon, et al. Human problem solving, volume 104:9. Prentice- hall Englewood Cliffs, NJ, 1972.
  21. [Owen et al., 2016] V Elizabeth Owen, Gabriella Anton, and Ryan Baker. Modeling user exploration and boundary test- ing in digital learning games. In Proceedings of the 2016 conference on user modeling adaptation and personaliza- tion, pages 301-302, 2016.
  22. [Politowski et al., 2022] Cristiano Politowski, Yann-Gaël Guéhéneuc, and Fabio Petrillo. Towards automated video game testing: still a long way to go. In Proceedings of the 6th International ICSE Workshop on Games and Software Engineering: Engineering Fun, Inspiration, and Motiva- tion, pages 37-43, 2022.
  23. [Riddler, 2021] Bram Riddler. Improve automated game testing using domain independent ai planning -youtube. https://www.youtube.com/watch?v=2KXmxuCjjCw, 2021. (Accessed on 12/12/2023). Link
  24. [Samuel, 1959] Arthur L Samuel. Some studies in machine learning using the game of checkers. IBM Journal of re- search and development, 3(3):210-229, 1959.
  25. [Schaeffer et al., 1996] Jonathan Schaeffer, Robert Lake, Paul Lu, and Martin Bryant. Chinook the world man- machine checkers champion. AI magazine, 17(1):21-21, 1996.
  26. [Shirzadehhajimahmood et al., 2021] Samira Shirzadehha- jimahmood, ISWB Prasetya, Frank Dignum, Mehdi Das- tani, and Gabriele Keller. Using an agent-based approach for robust automated testing of computer games. In Pro- ceedings of the 12th International Workshop on Automating TEST Case Design, Selection, and Evaluation, pages 1-8, 2021.
  27. [Simpson et al., 2007] Ron M. Simpson, Diane E. Kitchin, and Thomas Leo McCluskey. Planning domain definition using GIPO. Knowl. Eng. Rev., 22(2):117-134, 2007.
  28. [Smith et al., 1998] Stephen J Smith, Dana Nau, and Tom Throop. Computer bridge: A big win for ai planning. AI magazine, 19(2):93-93, 1998.
  29. [Tufano et al., 2022] Rosalia Tufano, Simone Scalabrino, Luca Pascarella, Emad Aghajani, Rocco Oliveto, and Gabriele Bavota. Using reinforcement learning for load testing of video games. In Proceedings of the 44th In- ternational Conference on Software Engineering, pages 2303-2314, 2022.
  30. [Unity Technologies, 2025] Unity Technologies. Unity game engine. https://unity.com/, 2025. Accessed: 2025-05-15. Link
  31. [Vaquero et al., 2013] Tiago Stegun Vaquero, José Reinaldo Silva, Flavio Tonidandel, and J. Christopher Beck. itsim- ple: towards an integrated design system for real planning applications. Knowl. Eng. Rev., 28(2):215-230, 2013.
  32. [Volokh and Halfond, 2023] Sasha Volokh and William G.J. Halfond. Automatically defining game action spaces for exploration using program analysis. Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment, 19(1):145-154, Oct. 2023.
  33. [Wang, 1996] Xuemei Wang. Learning planning operators by observation and practice. PhD thesis, Citeseer, 1996.
  34. [Wurman et al., 2022] Peter R. Wurman, Samuel Barrett, Kenta Kawamoto, James MacGlashan, Kaushik Subra- manian, Thomas J. Walsh, Roberto Capobianco, Alisa Devlic, Franziska Eckert, Florian Fuchs, Leilani Gilpin, Piyush Khandelwal, Varun Kompella, HaoChih Lin, Patrick MacAlpine, Declan Oller, Takuma Seno, Craig Sherstan, Michael D. Thomure, Houmehr Aghabozorgi, Leon Barrett, Rory Douglas, Dion Whitehead, Peter Dürr, Peter Stone, Michael Spranger, and Hiroaki Kitano. Outracing cham- pion gran turismo drivers with deep reinforcement learning. Nat., 602(7896):223-228, 2022.
  35. [Yang et al., 2007] Qiang Yang, Kangheng Wu, and Yunfei Jiang. Learning action models from plan examples using weighted max-sat. Artificial Intelligence, 171(2-3):107- 143, 2007.
  36. [Zhuo et al., 2010] Hankz Hankui Zhuo, Qiang Yang, Derek Hao Hu, and Lei Li. Learning complex action mod- els with quantifiers and logical implications. Artificial Intelligence, 174(18):1540-1569, 2010.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards