Prioritizing JUnit Test Cases in Absence of Coverage Information

被引:0
|
作者
Zhang, Lingming [1 ]
Zhou, Ji [1 ]
Hao, Dan [1 ]
Zhang, Lu [1 ]
Mei, Hong [1 ]
机构
[1] Peking Univ, Sch Elect Engn & Comp Sci, Key Lab High Confidence Software Technol, Inst Software,Minist Educ, Beijing 100871, Peoples R China
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Better orderings of test cases can detect faults in less time with fewer resources, and thus make the debugging process earlier and accelerate software delivery. As a result, test case prioritization has become a hot topic in the research of regression testing. With the popularity of using the JUnit testing framework for developing Java software, researchers also paid attention to techniques for prioritizing JUnit test cases in regression testing of Java software. Typically, most of them are based on coverage information of test cases. However, coverage information may need extra costs to acquire. In this paper, we propose an approach (named Jupta) for prioritizing JUnit test cases in absence of coverage information. Jupta statically analyzes call graphs of JUnit test cases and the software under test to estimate the test ability (TA) of each test case. Furthermore, Jupta provides two prioritization techniques: the total TA based technique (denoted as JuptaT) and the additional TA based technique (denoted as JuptaA). To evaluate Jupta, we performed an experimental study on two open source Java programs, containing I I versions in total. The experimental results indicate that Jupta is more effective and stable than the untreated orderings and Jupta is approximately as effective and stable as prioritization techniques using coverage information at the method level.
引用
收藏
页码:19 / 28
页数:10
相关论文
共 50 条
  • [1] Jtop: Managing JUnit Test Cases in Absence of Coverage Information
    Zhang, Lingming
    Zhou, Ji
    Hao, Dan
    Zhang, Lu
    Mei, Hong
    2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 677 - 679
  • [2] Prioritizing JUnit Test Cases Without Coverage Information: An Optimization Heuristics Based Approach
    Mukherjee, R.
    Patnaik, K. S.
    IEEE ACCESS, 2019, 7 : 78092 - 78107
  • [3] A Static Approach to Prioritizing JUnit Test Cases
    Mei, Hong
    Hao, Dan
    Zhang, Lingming
    Zhang, Lu
    Zhou, Ji
    Rothermel, Gregg
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2012, 38 (06) : 1258 - 1275
  • [4] Prioritizing JUnit Test Cases: An Empirical Assessment and Cost-Benefits Analysis
    Hyunsook Do
    Gregg Rothermel
    Alex Kinneer
    Empirical Software Engineering, 2006, 11 : 33 - 70
  • [5] Prioritizing JUnit test cases: An empirical assessment and cost-benefits analysis
    Do, H
    Rothermel, G
    Kinneer, A
    EMPIRICAL SOFTWARE ENGINEERING, 2006, 11 (01) : 33 - 70
  • [6] Towards a Distributed Execution Framework for JUnit Test Cases
    Parveen, Tauhida
    Tilley, Scott
    Daley, Nigel
    Morales, Pedro
    2009 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, CONFERENCE PROCEEDINGS, 2009, : 425 - +
  • [7] A State Coverage Tool for JUnit
    Koster, Ken
    ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 965 - 966
  • [8] A comparison of coverage-based and distribution-based techniques for filtering and prioritizing test cases
    Leon, D
    Podgurski, A
    ISSRE 2003: 14TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 2003, : 442 - 453
  • [9] On "Prioritizing Test Cases for Regression Testing"
    Rothermel, Gregg
    Untch, Roland
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2025, 51 (03) : 802 - 807
  • [10] Prioritizing test cases with string distances
    Yves Ledru
    Alexandre Petrenko
    Sergiy Boroday
    Nadine Mandran
    Automated Software Engineering, 2012, 19 : 65 - 95