Devising optimal integration test orders using cost–benefit analysis

Fanyi MENG, Ying WANG, Hai YU, Zhiliang ZHU

PDF(4068 KB)
PDF(4068 KB)
Front. Inform. Technol. Electron. Eng ›› 2022, Vol. 23 ›› Issue (5) : 692-714. DOI: 10.1631/FITEE.2100466
Orginal Article
Orginal Article

Devising optimal integration test orders using cost–benefit analysis

Author information +
History +

Abstract

Integration testing is an integral part of software testing. Prior studies have focused on reducing test cost in integration test order generation. However, there are no studies concerning the testing priorities of critical classes when generating integration test orders. Such priorities greatly affect testing efficiency. In this study, we propose an effective strategy that considers both test cost and efficiency when generating test orders. According to a series of dynamic execution scenarios, the software is mapped into a multi-layer dynamic execution network (MDEN) model. By analyzing the dynamic structural complexity, an evaluation scheme is proposed to quantify the class testing priority with the defined class risk index. Cost–benefit analysis is used to perform cycle-breaking operations, satisfying two principles: assigning higher priorities to higher-risk classes and minimizing the total complexity of test stubs. We also present a strategy to evaluate the effectiveness of integration test order algorithms by calculating the reduction of software risk during their testing process. Experiment results show that our approach performs better across software of different scales, in comparison with the existing algorithms that aim only to minimize test cost. Finally, we implement a tool, ITOsolution, to help practitioners automatically generate test orders.

Keywords

Integration test order / Cost–benefit analysis / Probabilistic risk analysis / Complex network

Cite this article

Download citation ▾
Fanyi MENG, Ying WANG, Hai YU, Zhiliang ZHU. Devising optimal integration test orders using cost–benefit analysis. Front. Inform. Technol. Electron. Eng, 2022, 23(5): 692‒714 https://doi.org/10.1631/FITEE.2100466

RIGHTS & PERMISSIONS

2022 Zhejiang University Press
PDF(4068 KB)

Accesses

Citations

Detail

Sections
Recommended

/