Reuse of Test Case based on Attributes Weight Optimization

被引:0
|
作者
Shi, Yaqing [1 ]
Huang, Song [1 ]
Wan, Jinyong [1 ]
机构
[1] Army Engn Univ PLA, Command & Control Engn Coll, Nanjing, Jiangsu, Peoples R China
关键词
test case reuse; the Genetic Simulated Annealing Algorithm; attribute weight optimization;
D O I
10.1109/QRS57517.2022.00054
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software testing is complicated and requires a lot of manpower and material resource in the software life cycle. The design of test cases costs a lot of time. In order to improve the efficiency of software testing in the test cases design stage, this paper uses historical test assets to assist the design of test cases in new project, and proposes a test case reuse method based on attribute weight optimization. Firstly, the text vector of test data is obtained by using Natural Language Processing. The test case package is formed based on the keyword extraction and the test case clustering, and the test case vector library is constructed. Then, a test case attribute weight optimization method based on the Genetic Simulated Annealing Algorithm is proposed. Combined with the optimized attribute weights, the test case reuse is realized by using the similarity calculation of the test case data vector. Finally, the test case reuse method is experimentally verified by two projects with different types. Experimental results show that this method can effectively improve the efficiency of test cases' design. It has better understandability and maintainability, and improve the quality of test cases.
引用
收藏
页码:464 / 472
页数:9
相关论文
共 50 条
  • [41] Agents for case-based software reuse
    Morisbak, SI
    Tessem, B
    APPLIED ARTIFICIAL INTELLIGENCE, 2001, 15 (03) : 297 - 332
  • [42] Test Case Optimization using Butterfly Optimization Algorithm
    Verma, Abhishek Singh
    Choudhary, Ankur
    Tiwari, Shailesh
    PROCEEDINGS OF THE CONFLUENCE 2020: 10TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, DATA SCIENCE & ENGINEERING, 2020, : 704 - 709
  • [43] TASTING: Reuse Test-case Execution by Global AST Hashing
    Landsberg, Tobias
    Dietrich, Christian
    Lohmann, Daniel
    PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON SOFTWARE TECHNOLOGIES (ICSOFT), 2022, : 33 - 45
  • [44] Quantum Approximate Optimization Algorithm for Test Case Optimization
    Wang, Xinyi
    Ali, Shaukat
    Yue, Tao
    Arcaini, Paolo
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (12) : 3249 - 3264
  • [45] Model-Based Test Case Prioritization Using UML Activity Diagram and Design Level Attributes
    Dash, Shaswati
    Panda, Namita
    Acharya, Arup Abhinna
    INFORMATION SYSTEMS DESIGN AND INTELLIGENT APPLICATIONS, INDIA 2017, 2018, 672 : 380 - 390
  • [46] Approaches to attributes reduction based on ant colony optimization
    Chen, Honghua
    Pei, Zheng
    Zhang, Li
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS AND KNOWLEDGE ENGINEERING (ISKE 2007), 2007,
  • [47] Inversion Optimization Strategy Based on Primitives with Complement Attributes
    Hui-Ming Tian
    Zhu-Fei Chu
    Journal of Computer Science and Technology, 2021, 36 : 1145 - 1154
  • [48] Seismic attributes optimization based on the empirical mode decomposition
    Chen, Wei
    Wang, Shang-Xu
    Chuai, Xiaoyu
    Shiyou Diqiu Wuli Kantan/Oil Geophysical Prospecting, 2013, 48 (01): : 121 - 127
  • [49] Inversion Optimization Strategy Based on Primitives with Complement Attributes
    Tian, Hui-Ming
    Chu, Zhu-Fei
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2021, 36 (05) : 1145 - 1154
  • [50] The Generation of Software Reliability Test Cases Based on Software Reuse
    Wang Jie
    Tian Pei
    Shi Wen-qing
    Xiao Yan
    PROCEEDINGS OF 2017 6TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT 2017), 2017, : 161 - 164