VNU-UET Repository

Improvements of Directed Automated Random Testingin Test Data Generation for C++ Projects

Nguyen, Duc Anh and Pham, Ngoc Hung and Vo, Dinh Hieu and Tran, Nguyen Huong (2019) Improvements of Directed Automated Random Testingin Test Data Generation for C++ Projects. International Journal of Software Engineering and Knowledge Engineering, 29 (9). pp. 1279-1312. ISSN 10.1142/S0218194019500402

Download (1MB) | Preview


This paper improves the breadth-¯rst search strategy in directed automated random testing (DART) to generate a fewer number of test data while gaining higher branch coverage, namely Static DART or SDART for short. In addition, the paper extends the test data compilation mechanism in DART, which currently only supports the projects written in C, to generate test data for C++ projects. The main idea of SDART is when it is less likely to increase code coverage with the current path selection strategies, the static test data generation will be applied with the expectation that more branches are covered earlier. Furthermore, in order to extend the test data compilation of DART for C++ context, the paper suggests a general test driver technique for C++ which supports various types of parameters including basic types, arrays, pointers, and derived types. Currently, an experimental tool has been implemented based on the proposal in order to demonstrate its e±cacy in practice. The results have shown that SDART achieves higher branch coverage with a fewer number of test data in comparison with that of DART in practice.

Item Type: Article
Subjects: Information Technology (IT)
Divisions: Faculty of Information Technology (FIT)
Depositing User: Nguy�n
Date Deposited: 07 Dec 2019 07:12
Last Modified: 07 Dec 2019 07:12

Actions (login required)

View Item View Item