GameRTS: A regression testing framework for video games
Continuous game quality assurance is of great importance to satisfy the increasing demands of users. To respond to game issues reported by users timely, game com-panies often create and maintain a large number of releases, updates, and tweaks in a short time. Regression testing is an essential techn...
Saved in:
Main Authors: | , , , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2023
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/8242 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-9245 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-92452023-10-26T01:36:06Z GameRTS: A regression testing framework for video games YU, Jiongchi WU, Yuechen XIE, Xiaofei LE, Wei MA, Lei CHEN, Yingfeng HU, Yujing: ZHANG Continuous game quality assurance is of great importance to satisfy the increasing demands of users. To respond to game issues reported by users timely, game com-panies often create and maintain a large number of releases, updates, and tweaks in a short time. Regression testing is an essential technique adopted to detect regression issues during the evolution of the game software. However, due to the special characteristics of game software (e.g., frequent updates and long-running tests), traditional regression testing techniques are not directly applicable. To bridge this gap, in this paper, we perform an early exploratory study to investigate the challenges in regression testing of video games. We first performed empirical studies to better understand the game development process, bugs introduced during game evolution, and the context sensitivity. Based on the results of the study, we proposed the first regression test selection (RTS) technique for game software, which is a compromise between safety and practicality. In particular, we model the test suite of game software as a State Transition Graph (STG) and then perform the RTS on the STG. We establish the dependencies between the states/actions of STG and game files, including game art resources, game design files, and source code, and perform change impact analysis to identify the states/actions (in the STG) that potentially execute such changes. We implemented our framework in a tool, named GameRTS, and evaluated its usefulness on 10 tasks of a large-scale commercial game, including a total of 1,429 commits over three versions. The experimental results demonstrate the usefulness and effectiveness of GameRTS in game RTS. For most tasks, GameRTS only selected one trace from STG, which can significantly reduce the testing time. Furthermore, GameRTS detects all the regression bugs from the test evaluation suites. Compared with the file-level RTS, GameRTS selected fewer states/actions/traces (i.e., 13.77%, 23.97%, 6.85%). In addition, GameRTS identified 2 new critical regression bugs in the game. 2023-05-20T07:00:00Z text https://ink.library.smu.edu.sg/sis_research/8242 info:doi/10.1109/ICSE48619.2023.00122 Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Game testing Regression testing State transition graph Testing cases selection Software Engineering Theory and Algorithms |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Game testing Regression testing State transition graph Testing cases selection Software Engineering Theory and Algorithms |
spellingShingle |
Game testing Regression testing State transition graph Testing cases selection Software Engineering Theory and Algorithms YU, Jiongchi WU, Yuechen XIE, Xiaofei LE, Wei MA, Lei CHEN, Yingfeng HU, Yujing: ZHANG GameRTS: A regression testing framework for video games |
description |
Continuous game quality assurance is of great importance to satisfy the increasing demands of users. To respond to game issues reported by users timely, game com-panies often create and maintain a large number of releases, updates, and tweaks in a short time. Regression testing is an essential technique adopted to detect regression issues during the evolution of the game software. However, due to the special characteristics of game software (e.g., frequent updates and long-running tests), traditional regression testing techniques are not directly applicable. To bridge this gap, in this paper, we perform an early exploratory study to investigate the challenges in regression testing of video games. We first performed empirical studies to better understand the game development process, bugs introduced during game evolution, and the context sensitivity. Based on the results of the study, we proposed the first regression test selection (RTS) technique for game software, which is a compromise between safety and practicality. In particular, we model the test suite of game software as a State Transition Graph (STG) and then perform the RTS on the STG. We establish the dependencies between the states/actions of STG and game files, including game art resources, game design files, and source code, and perform change impact analysis to identify the states/actions (in the STG) that potentially execute such changes. We implemented our framework in a tool, named GameRTS, and evaluated its usefulness on 10 tasks of a large-scale commercial game, including a total of 1,429 commits over three versions. The experimental results demonstrate the usefulness and effectiveness of GameRTS in game RTS. For most tasks, GameRTS only selected one trace from STG, which can significantly reduce the testing time. Furthermore, GameRTS detects all the regression bugs from the test evaluation suites. Compared with the file-level RTS, GameRTS selected fewer states/actions/traces (i.e., 13.77%, 23.97%, 6.85%). In addition, GameRTS identified 2 new critical regression bugs in the game. |
format |
text |
author |
YU, Jiongchi WU, Yuechen XIE, Xiaofei LE, Wei MA, Lei CHEN, Yingfeng HU, Yujing: ZHANG |
author_facet |
YU, Jiongchi WU, Yuechen XIE, Xiaofei LE, Wei MA, Lei CHEN, Yingfeng HU, Yujing: ZHANG |
author_sort |
YU, Jiongchi |
title |
GameRTS: A regression testing framework for video games |
title_short |
GameRTS: A regression testing framework for video games |
title_full |
GameRTS: A regression testing framework for video games |
title_fullStr |
GameRTS: A regression testing framework for video games |
title_full_unstemmed |
GameRTS: A regression testing framework for video games |
title_sort |
gamerts: a regression testing framework for video games |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2023 |
url |
https://ink.library.smu.edu.sg/sis_research/8242 |
_version_ |
1781793971597475840 |