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 条
  • [1] Test Case Reuse Based on Ontology
    Cai, Lizhi
    Tong, Weiqin
    Liu, Zhenyu
    Zhang, Juan
    IEEE 15TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, 2009, : 103 - +
  • [2] Model-Based Test Cases Reuse and Optimization
    Mussa, Mohamed
    Khendek, Ferhat
    ADVANCES IN COMPUTERS, VOL 113, 2019, 113 : 47 - 87
  • [3] An Ontology-Based Approach for Test Case Reuse
    Dalal, Satish
    Kumar, Sandeep
    Baliyan, Niyati
    INTELLIGENT COMPUTING, COMMUNICATION AND DEVICES, 2015, 309 : 361 - 366
  • [4] PSTR: A Test Case Reuse Method Based on Path Similarity
    Xu, Xinyue
    Chen, Sinong
    Guo, Zhonghao
    Chen, Xiangxian
    IEEE Access, 2025, 13 : 3175 - 3187
  • [5] Test Case Prioritization Based on Data Reuse An Experimental Study
    Lima, Lucas
    Iyoda, Juliano
    Sampaio, Augusto
    Aranha, Eduardo
    ESEM: 2009 3RD INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, 2009, : 280 - +
  • [6] Research of Reuse Technology of Test Case Based on Function Calling Path
    MU Yongmin
    GAO Xuexin
    SHEN Meie
    Chinese Journal of Electronics, 2018, 27 (04) : 768 - 775
  • [7] Research of Reuse Technology of Test Case Based on Function Calling Path
    Mu Yongmin
    Gao Xuexin
    Shen Meie
    CHINESE JOURNAL OF ELECTRONICS, 2018, 27 (04) : 768 - 775
  • [8] Weight and Cluster Based Test case Prioritization Technique
    Khalid, Zumar
    Qamar, Usman
    2019 IEEE 10TH ANNUAL INFORMATION TECHNOLOGY, ELECTRONICS AND MOBILE COMMUNICATION CONFERENCE (IEMCON), 2019, : 1013 - 1022
  • [9] Test Case Reuse and Generation Between Similar Programs Based on Function Influence
    Qian Z.-S.
    Song J.
    Yu Q.-Y.
    Cheng Y.-W.
    Sun Z.-W.
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2022, 50 (07): : 1696 - 1707
  • [10] Test Case Generation and Reuse Based on Support Vector Machine Regression Model
    Qian Z.-S.
    Yu Q.-Y.
    Song T.
    Zhu Y.-M.
    Zhu J.
    Zhao C.
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2021, 49 (07): : 1386 - 1391