Skip to main navigation Skip to search Skip to main content

Programming Smart Playtesting

  • University of Lisbon
  • Instituto Superior Tecnico Lisboa
  • Polytechnic University of Valencia
  • Umeå University
  • Fondazione Bruno Kessler
  • Utrecht University

Research output: Contribution to journal › Article › Academic › peer-review

Abstract

Until recently the game industry heavily relied on manual playtesting to test the games it produces. Even if the benefits of introducing automated testing are acknowledged, it is rarely done in practice. Some of the main hurdles include the lack of automated testing tools that can target computer games as well as the complexity of automated game plays which are much more difficult to program than typical simple test sequences. This article presents an agent-based testing framework called aplib that comes with a Domain Specific Language (DSL) that allows complex playtests to be programmed more abstractly. A so-called goal structure is used to abstractly formulate a playtest scenario in terms of main goals and their decomposition into subgoals. Scenarios that are not too complicated can be formulated using static goal structures. More complex scenarios may need a test agent that can dynamically adapt its play according to the situation that evolves during the play. To handle such cases, aplib allows dynamic goals to be expressed as well. Invariants and pre-/post-conditions are used to assert the properties that a play is expected to satisfy. They include differential properties that allow constraints on the current state to be related to that of past states. Three case studies are included in the article. The first one aims to evaluate the performance of playtests programmed with aplib. The second shows that the approach can also be combined with other automated testing approaches, in this case reinforcement learning. The third shows the applicability of such playtests in a 3D setup and for non-functional testing.

Original languageEnglish
Article number79
Number of pages47
JournalACM Transactions on Software Engineering and Methodology
Volume35
Issue number3
DOIs
Publication statusPublished - Mar 2026

Bibliographical note

Publisher Copyright:
© 2026 Copyright held by the owner/author(s).

Keywords

  • agent-based testing
  • automated game testing
  • automated playtesting
  • DSL for playtesting

Fingerprint

Dive into the research topics of 'Programming Smart Playtesting'. Together they form a unique fingerprint.

Cite this