Impacts of Program Structures on Code Coverage of Generated Test Suites

被引:0
|
作者
Watanabe, Ryoga [1 ]
Higo, Yoshiki [1 ]
Kusumoto, Shinji [1 ]
机构
[1] Osaka Univ, Grad Sch Informat Sci & Technol, Osaka, Japan
关键词
Unit testing; Test generation tool; Code coverage; Program structures;
D O I
10.1007/978-3-031-49266-2_24
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Unit testing is a part of the process of developing software. In unit testing, developers verify that programs properly work as developers intend. Creating a test suite for a unit test is very time-consuming. For this reason, research is being conducted to generate a test suite for unit testing automatically, and before now, some test generation tools have been released. However, test generation tools may not be able to generate a test suite that fully covers a test target. In our research, we investigate the causes of this problem by focusing on structures of test targets to improve test generation tools. As a result, we found four patterns as the causes of this problem and proposed subsequent research directions for each pattern to solve this problem.
引用
收藏
页码:355 / 362
页数:8
相关论文
共 50 条
  • [1] On Code Coverage of Extended FSM Based Test Suites: An Initial Assessment
    El-Fakih, Khaled
    Salameh, Tariq
    Yevtushenko, Nina
    TESTING SOFTWARE AND SYSTEMS (ICTSS 2014), 2014, 8763 : 198 - 204
  • [2] Investigating faults missed by test suites achieving high code coverage
    Schwartz, Amanda
    Puckett, Daniel
    Meng, Ying
    Gay, Gregory
    JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 144 : 106 - 120
  • [3] On code coverage of extended fsm based test suites: An initial assessment
    El-Fakih, Khaled
    Salameh, Tariq
    Yevtushenko, Nina
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8763 : 198 - 204
  • [4] Optimize ASIC test suites using code-coverage analysis
    Abrahams, M
    Riches, S
    EDN, 1998, 43 (11) : 149 - +
  • [5] ScAmPER: Generating Test Suites to Maximise Code Coverage in Interactive Fiction Games
    Lester, Martin Mariusz
    TESTS AND PROOFS (TAP 2020), 2020, 12165 : 169 - 179
  • [6] A Network-Based Approach for Reducing Test Suites While Maintaining Code Coverage
    Mongiovi, Misael
    Fornaia, Andrea
    Tramontana, Emiliano
    COMPLEX NETWORKS AND THEIR APPLICATIONS VIII, VOL 2, 2020, 882 : 164 - 176
  • [7] Post Prioritization Techniques to Improve Code Coverage for SARSA Generated Test Cases
    Khan, Md Khorrom
    Michaels, Ryan
    Williams, Dylan
    Dinal, Benjamin
    Gurkas, Beril
    Luloh, Austin
    Bryce, Renee
    2023 IEEE 13TH ANNUAL COMPUTING AND COMMUNICATION WORKSHOP AND CONFERENCE, CCWC, 2023, : 1029 - 1035
  • [8] Generating Effective Test Suites by Combining Coverage Criteria
    Gay, Gregory
    SEARCH BASED SOFTWARE ENGINEERING, SSBSE 2017, 2017, 10452 : 65 - 82
  • [9] Increasing Diversity in Coverage Test Suites using Model Checking
    Fraser, Gordon
    Wotawa, Franz
    2009 NINTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2009), 2009, : 211 - 218
  • [10] Coverage Specification for Test Case Intent Preservation in Regression Suites
    Shaccour, Elie
    Zaraket, Fadi
    Masri, Wes
    IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2013), 2013, : 392 - 395