eprintid: 3734 rev_number: 6 eprint_status: archive userid: 272 dir: disk0/00/00/37/34 datestamp: 2019-12-07 07:12:51 lastmod: 2019-12-07 07:12:51 status_changed: 2019-12-07 07:12:51 type: article metadata_visibility: show creators_name: Nguyen, Duc Anh creators_name: Pham, Ngoc Hung creators_name: Vo, Dinh Hieu creators_name: Tran, Nguyen Huong creators_id: nguyenducanh@vnu.edu.vn creators_id: hungpn@vnu.edu.vn creators_id: hieuvd@vnu.edu.vn creators_id: 17028005@vnu.edu.vn title: Improvements of Directed Automated Random Testingin Test Data Generation for C++ Projects ispublished: pub subjects: IT divisions: fac_fit abstract: 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. date: 2019 publisher: World Scientic Publishing Company official_url: https://www.worldscientific.com/doi/10.1142/S0218194019500402 full_text_status: public publication: International Journal of Software Engineering and Knowledge Engineering volume: 29 number: 9 pagerange: 1279-1312 refereed: TRUE issn: 10.1142/S0218194019500402 citation: 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 document_url: https://eprints.uet.vnu.edu.vn/eprints/id/eprint/3734/1/S0218194019500402-2.pdf