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
来源
PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2023, PT I | 2024年 / 14483卷
关键词
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 条
  • [21] Program State Coverage: A Test Coverage Metric Based on Executed Program States
    Someoliayi, Khashayar Etemadi
    Jalali, Sajad
    Mahdieh, Mostafa
    Mirian-Hosseinabadi, Seyed-Hassan
    2019 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER), 2019, : 584 - 588
  • [22] Deriving Test Suites with the Guaranteed Fault Coverage for Extended Finite State Machines
    Ermakov A.D.
    Yevtushenko N.V.
    Automatic Control and Computer Sciences, 2017, 51 (7) : 516 - 522
  • [23] Guidelines for Coverage-Based Comparisons of Non-Adequate Test Suites
    Gligoric, Milos
    Groce, Alex
    Zhang, Chaoqiang
    Sharma, Rohan
    Alipour, Mohammad Amin
    Marinov, Darko
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2015, 24 (04)
  • [24] Seeding Contradiction: a Fast Method for Generating Full-Coverage Test Suites
    Li Huang
    Bertrand Meyer
    Manuel Oriol
    SN Computer Science, 6 (1)
  • [25] Generating Test Suites with High 3-Way Coverage for Software Testing
    Akhtar, Yasmeen
    Maity, Soumen
    Chandrasekharan, Reshma C.
    2016 IEEE INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION TECHNOLOGY (CIT), 2016, : 10 - 17
  • [26] Seeding Contradiction: A Fast Method for Generating Full-Coverage Test Suites
    Huang, Li
    Meyer, Bertrand
    Oriol, Manuel
    TESTING SOFTWARE AND SYSTEMS, ICTSS 2023, 2023, 14131 : 52 - 70
  • [27] Program segmentation for controlling test coverage
    Belli, F
    Dreyer, J
    EIGHTH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 1997, : 72 - 83
  • [28] Augmenting automatically generated unit-test suites with regression oracle checking
    Xie, Tao
    ECOOP 2006 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2006, 4067 : 380 - 403
  • [29] Behave Nicely! Automatic Generation of Code for Behaviour Driven Development Test Suites
    Bob, Ruxandra
    Storer, Tim
    2019 19TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2019, : 228 - 237
  • [30] Model-Based Strategies for Reducing the Complexity of Statistically Generated Test Suites
    Dulz, Winfried
    SOFTWARE QUALITY: INCREASING VALUE IN SOFTWARE AND SYSTEMS DEVELOPMENT, 2013, 133 : 89 - 103