Beyond Code Coverage - an Approach for Test Suite Assessment and Improvement

被引:0
|
作者
Tengeri, David [1 ]
Beszedes, Arpad [1 ]
Gergely, Tamas [1 ]
Vidacs, Laszlo [2 ]
Havas, David [1 ]
Gyimothy, Tibor [1 ]
机构
[1] Univ Szeged, Dept Software Engn, Szeged, Hungary
[2] Univ Szeged, MTA SZTE Res Grp Artificial Intelligence, Szeged, Hungary
来源
2015 IEEE EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW) | 2015年
关键词
code coverage; regression testing; test suite quality; test suite refactoring; test suite evolution; white box testing metrics;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Code coverage is successfully used to guide white box test design and evaluate the respective test completeness. However, simple overall coverage ratios are often not precise enough to effectively help when a (regression) test suite needs to be reassessed and evolved after software change. We present an approach for test suite assessment and improvement that utilizes code coverage information, but on a more detailed level and adds further evaluation aspects derived from the coverage. The main use of the method is to aid various test suite evolution situations such as removal, refactoring and extension of test cases as a result of code change or test suite efficiency enhancement. We define various metrics to express different properties of test suites beyond simple code coverage ratios, and present the assessment and improvement process as an iterative application of different improvement goals and more specific sub-activities. The method is demonstrated by applying it to improve the tests of one of our experimental systems.
引用
收藏
页数:7
相关论文
共 50 条
  • [1] Statement frequency coverage: A code coverage criterion for assessing test suite effectiveness
    Aghamohammadi, Alireza
    Mirian-Hosseinabadi, Seyed-Hassan
    Jalali, Sajad
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 129 (129)
  • [2] Combining Code and Requirements Coverage with Execution Cost for Test Suite Reduction
    Marchetto, Alessandro
    Scanniello, Giuseppe
    Susi, Angelo
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2019, 45 (04) : 363 - 390
  • [3] A Code Coverage-Based Test Suite Reduction and Prioritization Framework
    Khan, Saif Ur Rehman
    Lee, Sai Peck
    Parizi, Reza Meimandi
    Elahi, Manzoor
    2014 4TH WORLD CONGRESS ON INFORMATION AND COMMUNICATION TECHNOLOGIES (WICT), 2014, : 229 - 234
  • [4] Code Coverage for Suite Evaluation by Developers
    Gopinath, Rahul
    Jensen, Carlos
    Groce, Alex
    36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2014), 2014, : 72 - 82
  • [5] Using Artificial Bee Colony for Code Coverage based Test Suite Prioritization
    Konsaard, Patipat
    Ramingwong, Lachana
    2015 2ND INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND SECURITY (ICISS), 2015, : 152 - 155
  • [6] On factors that impact the relationship between code coverage and test suite effectiveness: a survey
    Barani, Maryam
    Labiche, Yvan
    Rollet, Antoine
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS, ICSTW, 2023, : 381 - 388
  • [7] Relating Code Coverage, Mutation Score and Test Suite Reducibility to Defect Density
    Tengeri, David
    Vidacs, Laszlo
    Beszedes, Arpad
    Jasz, Judit
    Balogh, Gergo
    Vancsics, Bela
    Gyimothy, Tibor
    2016 IEEE NINTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2016, : 174 - 179
  • [8] Exploring Test Suite Diversification and Code Coverage in Multi-Objective Test Case Selection
    Mondal, Debajyoti
    Hemmati, Hadi
    Durocher, Stephane
    2015 IEEE 8TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2015,
  • [9] A Greedy Approach for Coverage-Based Test Suite Reduction
    Harris, Preethi
    Raju, Nedunchezhian
    INTERNATIONAL ARAB JOURNAL OF INFORMATION TECHNOLOGY, 2015, 12 (01) : 17 - 23
  • [10] Automatic test generation method for functional coverage improvement by code coverage analysis
    Fu, Liang
    Lu, Ding
    Zhang, Zhimin
    Sun, Yuan
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2009, 21 (04): : 454 - 460