Title: A dynamic test prioritisation based on DU-chain coverage for regression testing

Authors: Lili Pan; Tiane Wang; Jiaohua Qin; Xuyu Xiang

Addresses: College of Computer Science and Information Technology, Central South University of Forestry and Technology, 410004 Changsha, Hunan, China ' The Commission Institute, Hunan Electric Power Transmission and Substation Construction Company, 410017 Changsha, Hunan, China ' College of Computer Science and Information Technology, Central South University of Forestry and Technology, 410004 Changsha, Hunan, China ' College of Computer Science and Information Technology, Central South University of Forestry and Technology, 410004 Changsha, Hunan, China

Abstract: Test case prioritisation schedules the test cases for execution in an order that attempts to maximise (an) objective(s) or expose faults earlier in testing. In the past, many test case prioritisation techniques prioritised test cases based on mainly test-requirement coverage and ignored many other testing factors. In view of the DU-chain importance in programs, this paper presents a test case prioritisation approach of method-based DU-chain coverage. The technique combines the DU-chain coverage and fault detection rate as test-case quantitative factors. Different from existing techniques, the novel approach makes use of information from executed testing and module coupling, and dynamically calculates a priority quantitative value for every test case. The experiments performed show that the dynamic prioritisation approach is fault-detection effective, and the APFD of the test suites constructed by the dynamic prioritisation approach is higher than that of the test suites constructed by the static prioritisation technique.

Keywords: software testing; regression testing; test case prioritisation; test suite; DU-chain coverage; class method; fault detection; average of the percentage of faults detected; APFD.

DOI: 10.1504/IJES.2018.090567

International Journal of Embedded Systems, 2018 Vol.10 No.2, pp.113 - 119

Received: 04 Jul 2016
Accepted: 09 Aug 2016

Published online: 22 Mar 2018 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article