Devising optimal integration test orders using cost–benefit analysis

Fanyi MENG , Ying WANG , Hai YU , Zhiliang ZHU

Front. Inform. Technol. Electron. Eng ›› 2022, Vol. 23 ›› Issue (5) : 692 -714.

PDF (4068KB)
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 +
PDF (4068KB)

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 DOI:10.1631/FITEE.2100466

登录浏览全文

4963

注册一个新账户 忘记密码

References

RIGHTS & PERMISSIONS

Zhejiang University Press

AI Summary AI Mindmap
PDF (4068KB)

Supplementary files

FITEE-0692-22004-FYM_suppl_2

FITEE-0692-22004-FYM_suppl_3

518

Accesses

0

Citation

Detail

Sections
Recommended

AI思维导图

/