CA2: Code-Aware Agent for Automated Game Testing
Fuente:
arXiv
Saved in:
| Main Authors: | , , , |
|---|---|
| Format: | Preprint |
| Published: |
2026
|
| Subjects: | |
| Online Access: | |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1866914564490133504 |
|---|---|
| author | Adaikkappan, Valliappan Chidambaram Martineau, Vincent Romoff, Joshua Meger, David |
| author_facet | Adaikkappan, Valliappan Chidambaram Martineau, Vincent Romoff, Joshua Meger, David |
| contents | Automated game testing is important for verifying game functionality, but it remains a costly and time-consuming process. Manual testing often misses edge cases, and current automated methods struggle to provide full code coverage. Prior work has explored reinforcement learning (RL) for game testing, but without leveraging internal code signals such as the call stack. We present Code Aware Agent (CA2), which uses call stack information to learn effective testing strategies. The agent receives the current function call trace along with the game state and learns to reach specific target functions. We instrument two types of environments, 1) State-based and 2) Image-based, with support for efficient call stack extraction. Through experimental evaluation, we find that CA2 achieves consistent improvement over the non-code aware baselines, which does not leverage call stack information. Our results show that incorporating code signals like the call stack enables more effective and targeted game testing. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2605_13918 |
| institution | arXiv |
| publishDate | 2026 |
| record_format | arxiv |
| spellingShingle | CA2: Code-Aware Agent for Automated Game Testing Adaikkappan, Valliappan Chidambaram Martineau, Vincent Romoff, Joshua Meger, David Software Engineering Machine Learning Automated game testing is important for verifying game functionality, but it remains a costly and time-consuming process. Manual testing often misses edge cases, and current automated methods struggle to provide full code coverage. Prior work has explored reinforcement learning (RL) for game testing, but without leveraging internal code signals such as the call stack. We present Code Aware Agent (CA2), which uses call stack information to learn effective testing strategies. The agent receives the current function call trace along with the game state and learns to reach specific target functions. We instrument two types of environments, 1) State-based and 2) Image-based, with support for efficient call stack extraction. Through experimental evaluation, we find that CA2 achieves consistent improvement over the non-code aware baselines, which does not leverage call stack information. Our results show that incorporating code signals like the call stack enables more effective and targeted game testing. |
| title | CA2: Code-Aware Agent for Automated Game Testing |
| topic | Software Engineering Machine Learning |
| url | https://arxiv.org/abs/2605.13918 |