Search-based reduction model for unit testing

被引:0
|
作者
Fernandez-Oliva, Perla Beatriz [1 ]
Guemes-Esperon, Alejandro Miguel [1 ]
Delgado-Dapena, Martha Dunia [1 ]
Rosete, Alejandro [1 ]
机构
[1] Univ Tecnol La Habana Jose Antonio Echeverria, Fac Ingn Informat, CUJAE, Calle 114 11901, Havana 19390, Cuba
关键词
Automatic test generation; unit tests; search based tests; software testing; GENERATION;
D O I
10.17533/udea.redin.20221098
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Software tests are fundamental in the reliability and quality of systems, contributing to their positioning in the market. Generating test data is a critical task, as exhaustive testing is costly in time and effort. An adequate design of the test cases, which contemplates a selection of adequate values, can detect a high number of defects. The effectiveness of the test cases is measured according to the number of errors they managed to detect. However, the proposals that address these issues with the use of heuristic algorithms focus on the reduction of generation time and different coverage criteria. This article presents a search-based optimization model for the generation of unit test suites that integrates different test case design techniques considering the significance of the values generated in the detection of errors. The significance of the paths is also taken into account, with the aim of obtaining test cases with greater potential to detect errors. The optimization model uses heuristic algorithms that maximize the coverage of the paths. The results of the experimentation are presented, which show that the proposal presented generates test suits with a high capacity to detect errors. For this, the effectiveness of the generated test suits to detect errors in the mutated code was evaluated.
引用
收藏
页码:35 / 47
页数:13
相关论文
共 50 条
  • [1] Basic block coverage for search-based unit testing and crash reproduction
    Derakhshanfar, Pouria
    Devroey, Xavier
    Zaidman, Andy
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (07)
  • [2] Basic block coverage for search-based unit testing and crash reproduction
    Pouria Derakhshanfar
    Xavier Devroey
    Andy Zaidman
    [J]. Empirical Software Engineering, 2022, 27
  • [3] Graph-Based Seed Object Synthesis for Search-Based Unit Testing
    Lin, Yun
    Ong, You Sheng
    Sun, Jun
    Fraser, Gordon
    Dong, Jin Song
    [J]. PROCEEDINGS OF THE 29TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE '21), 2021, : 1068 - 1080
  • [4] EXSYST: Search-Based GUI Testing
    Gross, Florian
    Fraser, Gordon
    Zeller, Andreas
    [J]. 2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 1423 - 1426
  • [5] Search-based testing in membrane computing
    Turlea, Ana
    Gheorghe, Marian
    Ipate, Florentin
    Konur, Savas
    [J]. JOURNAL OF MEMBRANE COMPUTING, 2019, 1 (04) : 241 - 250
  • [6] Search-based Testing using EFSMs
    Turlea, Ana
    [J]. 2019 IEEE 30TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2019), 2019, : 100 - 103
  • [7] Search-Based Energy Testing of Android
    Jabbarvand, Reyhaneh
    Lin, Jun-Wei
    Malek, Sam
    [J]. 2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 1119 - 1130
  • [8] Search-based testing in membrane computing
    Ana Ţurlea
    Marian Gheorghe
    Florentin Ipate
    Savas Konur
    [J]. Journal of Membrane Computing, 2019, 1 : 241 - 250
  • [9] Search-based Model Merging
    Kessentini, Marouane
    Werda, Wafa
    Langer, Philip
    Wimmer, Manuel
    [J]. GECCO'13: PROCEEDINGS OF THE 2013 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, 2013, : 1453 - 1460
  • [10] Search-based model transformations
    Fleck, Martin
    Troya, Javier
    Wimmer, Manuel
    [J]. JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2016, 28 (12) : 1081 - 1117