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 条
  • [31] Model based optimization of fertilization with treated wastewater reuse
    Haddon, Antoine
    Rapaport, Alain
    Roux, Sebastien
    Harmand, Jerome
    ADVANCES IN WATER RESOURCES, 2023, 181
  • [32] MapReduce short jobs optimization based on resource reuse
    Shi, Yuliang
    Zhang, Kaihui
    Cui, Lizhen
    Liu, Lei
    Zheng, Yongqing
    Zhang, Shidong
    Yu, Han
    MICROPROCESSORS AND MICROSYSTEMS, 2016, 47 : 178 - 187
  • [33] Test case generation based on orthogonal exploration and particle swarm optimization
    Jiang, Shu-Juan (shjjiang@cumt.edu.cn), 1600, Chinese Institute of Electronics (42):
  • [34] A UML-based Approach towards Test Case Generation and Optimization
    Saleem, Shahid
    Malik, Saif U. R.
    Mehboob, Bilal
    Alroobaea, Roobaea
    Algarni, Sultan
    Baqasah, Abdullah M.
    Ahmad, Naveed
    Hasnain, Muhammad
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2024, 18 (03): : 633 - 652
  • [35] Optimization of Model based Functional Test Case Generation for Android Applications
    Mateen, Ahmed
    Abbas, Khizar
    2017 IEEE INTERNATIONAL CONFERENCE ON POWER, CONTROL, SIGNALS AND INSTRUMENTATION ENGINEERING (ICPCSI), 2017, : 90 - 95
  • [36] Test Case Prioritization for Regression Testing Based on Ant Colony Optimization
    Gao, Dongdong
    Guo, Xiangying
    Zhao, Lei
    PROCEEDINGS OF 2015 6TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE, 2015, : 275 - 279
  • [37] Optimization of Test Suite- Test Case in Regression Test
    Ansari, Ahlam S. A.
    Devadkar, Kailas K.
    Gharpure, Prachi
    2013 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2013, : 410 - 413
  • [38] Software test case optimization method based on multi-objective particle swarm optimization
    Dalian Institute of Science and Technology, Dalian
    Liaoning
    116052, China
    Int. J. Simul. Syst. Sci. Technol., 5A (12.1-12.6):
  • [39] Case reuse based product fuzzy configuration
    Xuanyuan, Sisi
    Jiang, Zhaoliang
    Li, Yan
    Li, Zhaoqian
    ADVANCED ENGINEERING INFORMATICS, 2011, 25 (02) : 193 - 197
  • [40] Case-based reuse of software examplets
    Grabert, M
    Bridge, D
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2003, 9 (07) : 627 - 640