Greenify: A Game with the Purpose of Test Data Generation for Unit Testing - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2019

Greenify: A Game with the Purpose of Test Data Generation for Unit Testing

Résumé

One of the most important, but tedious and costly tasks of software testing process is test data generation. Several methods for automating this task have been presented, yet due to their practical drawbacks, test data generation is still widely performed by humans in industry. In our previous work, we employed the notion of Game With A Purpose (GWAP) and introduced Rings as a GWAP to reduce time and costs of human-based test data generation and increase its appeal to engage even nontechnical people. In this paper, we propose a new game, called Greenify, with the purpose of test data generation so that it solves the main issues of Rings. The environment of this game is built based on a program’s control flow graph. To evaluate the proposed approach, we designed several game levels based on six different C++ programs and gave them to volunteering players. The results show that in comparison to both conventional human-based approach and Rings, Greenify generates test data with less rime for all feasible paths of the given benchmark programs. In addition, Greenify identifies the smaller set of likely infeasible paths.
Fichier principal
Vignette du fichier
490001_1_En_6_Chapter.pdf (1.6 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03769122 , version 1 (05-09-2022)

Licence

Paternité

Identifiants

Citer

Sharmin Moosavi, Hassan Haghighi, Hasti Sahabi, Farzam Vatanzade, Mojtaba Vahidi Asl. Greenify: A Game with the Purpose of Test Data Generation for Unit Testing. 8th International Conference on Fundamentals of Software Engineering (FSEN), May 2019, Tehran, Iran. pp.77-92, ⟨10.1007/978-3-030-31517-7_6⟩. ⟨hal-03769122⟩
18 Consultations
22 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More