Learning to Prioritize Test Cases for Computer Aided Design Software via Quantifying Functional Units
Learning to Prioritize Test Cases for Computer Aided Design Software via Quantifying Functional Units
复制标题
学习通过量化功能单元来确定计算机辅助设计软件测试用例的优先级
DOI:
10.3390/app122010414
复制
发表时间:
2022-10
期刊:
影响因子:
--
通讯作者:
Jifeng Xuan
中科院分区:
文献类型:
--
作者:
Fenfang Zeng;Shaoting Liu;Feng Yang;Yisen Xu;Guofu Zhou;Jifeng Xuan
Computer Aided Design (CAD) is a family of techniques that support the automation of designing and drafting 2D and 3D models with computer programs. CAD software is a software platform that provides the process from designing to modeling, such as AutoCAD or FreeCAD. Due to complex functions, the quality of CAD software plays an important role in designing reliable 2D and 3D models. There are many dependencies between defects in CAD software. Software testing is a practical way to detect defects in CAD software development. However, it is expensive to frequently run all the test cases for all functions. In this paper, we design an approach to learning to prioritize test cases for the CAD software, called PriorCadTest. The key idea of this approach is to quantify functional units and to train a learnable model to prioritize test cases. The output of the approach is a sequence of existing test cases. We evaluate PriorCadTest on seven modules of an open-source real-world CAD project, ArtOfIllusion. The Average Percentage of Fault Detect (APFD) is used to measure the effectiveness. Experimental results show that the proposed approach outperforms the current industrial practice without test case prioritization.