Rings: A Game with a Purpose for Test Data Generation

被引:5
作者
Amiri-Chimeh, Saeed [1 ]
Haghighi, Hassan [1 ]
Vahidi-Asl, Mojtaba [1 ]
Setayesh-Ghajar, Kamyar [1 ]
Gholami-Ghavamabad, Farshad [1 ]
机构
[1] Shahid Beheshti Univ, Fac Comp Sci & Engn, Tehran 1983969411, Iran
关键词
human-based computation; game with a purpose; interactive games; software testing; test data generation; PLAYERS;
D O I
10.1093/iwc/iww043
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In human-based computation, the machine outsources certain steps of an algorithm to humans to optimize computation by making an equilibrium of human and machine computation advantages. Software testing is an important part of the software development life cycle that aims to reveal failures in software. One of the most important activities in the software testing is test data generation. Although many automatic methods have been introduced to generate effective test data, humans are still extensively used in the software industry, due to the challenges of the proposed automatic methods. Assuming that software companies still need the help of humans, in this research, we hypothesize that a game with a purpose can be utilized to improve the process of human-based test data generation by making test data generation more cost-effective and fun. To investigate this hypothesis, we implemented a game with a purpose, Rings, to improve the process of human-based test data generation for program units. We also performed an experiment to evaluate this idea as entertainment as well as a mean for test data generation. The results show that by crowd-sourcing test data generation of program units to typical players of a game, we can make test data generation more cost-effective and fun. RESEARCH HIGHLIGHTS Software testing is an important part of the software development life cycle. Despite automatic methods for software testing, humans are still being extensively used due to the shortcomings of automatic methods. In human-based computation, certain steps of a process are outsourced to humans. Providing cheap numerous workforces. Solving problems that human can solve better than computers. Rings is game with a purpose that tries to use human-based computation technique in field of software test data generation. Professional testers are expensive, scarce and not motivated. Players are cheap, numerous and motivated. Rings introduces a mapping form original test data generation problem to a visual puzzle. Visual representation of a computation problem Wider audience of players means more test data generators. Can use mobile gadgets as a platform to generate test data. The results show that by crowd-sourcing some steps of unit testing to ordinary players of a game, we can provide plentiful of motivated cheap test data generators for unit testing.
引用
收藏
页码:1 / 30
页数:30
相关论文
共 50 条
[1]  
Adzic G., 2011, Specification by Example: How Successful Teams Deliver the Right Software
[2]   A Systematic Review of the Application and Empirical Investigation of Search-Based Test Case Generation [J].
Ali, Shaukat ;
Briand, Lionel C. ;
Hemmati, Hadi ;
Panesar-Walawege, Rajwinder K. .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (06) :742-762
[3]  
Allen Frances E., 1970, ACM SIGPLAN NOTICES, V5, P1, DOI DOI 10.1145/390013.808479
[4]  
Ammann P., 2016, INTRO SOFTWARE TESTI
[5]   An orchestrated survey of methodologies for automated software test case generation [J].
Anand, Saswat ;
Burke, Edmund K. ;
Chen, Tsong Yueh ;
Clark, John ;
Cohen, Myra B. ;
Grieskamp, Wolfgang ;
Harman, Mark ;
Harrold, Mary Jean ;
McMinn, Phil ;
Bertolino, Antonia ;
Li, J. Jenny ;
Zhu, Hong .
JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (08) :1978-2001
[6]  
[Anonymous], 2012, P 14 WORKSH FORM TEC
[7]  
[Anonymous], 2014, Master's thesis
[8]  
[Anonymous], 2010, Essential facts about the computer and video game industry
[9]  
Arnarsson D., 2015, IMPROVING UNIT TESTI
[10]   An experimental card game for teaching software engineering processes [J].
Baker, A ;
Navarro, EO ;
van der Hock, A .
JOURNAL OF SYSTEMS AND SOFTWARE, 2005, 75 (1-2) :3-16