Combining Code and Requirements Coverage with Execution Cost for Test Suite Reduction

被引:20
作者
Marchetto, Alessandro [3 ]
Scanniello, Giuseppe [1 ]
Susi, Angelo [2 ]
机构
[1] Univ Basilicata, DiMIE, I-85100 Potenza, Italy
[2] Fdn Bruno Kessler, I-38123 Trento, Italy
[3] Bruno Kessler Fdn, CIT, Software Engn Grp, Trento, Italy
关键词
Multi-objective approach; regression testing; testing; test suite reduction; MULTIOBJECTIVE TECHNIQUE; GENETIC ALGORITHM; TRACEABILITY; OPTIMIZATION;
D O I
10.1109/TSE.2017.2777831
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Test suites tend to become large and complex after software evolution iterations, thus increasing effort and cost to execute regression testing. In this context, test suite reduction approaches could be applied to identify subsets of original test suites that preserve the capability of satisfying testing requirements and revealing faults. In this paper, we propose Multi-Objective test suites REduction (named MORE+): a three-dimension approach for test suite reduction. The first dimension is the structural one and concerns the information on how test cases in a suite exercise the under-test application. The second dimension is functional and concerns how test cases exercise business application requirements. The third dimension is the cost and concerns the time to execute test cases. We define MORE+ as a multi-objective approach that reduces test suites so maximizing their capability in revealing faults according to the three considered dimensions. We have compared MORE+ with seven baseline approaches on 20 Java applications. Results showed, in particular, the effectiveness of MORE+ in reducing test suites with respect to these baselines, i.e., significantly more faults are revealed with test suites reduced by applying MORE+.
引用
收藏
页码:363 / 390
页数:28
相关论文
共 80 条
[1]   A traceability technique for specifications [J].
Abadi, Aharcin ;
Nisenson, Mordechai ;
Simionovici, Yahalomit .
PROCEEDINGS OF THE 16TH IEEE INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, 2008, :103-112
[2]   Evaluating Non-adequate Test-Case Reduction [J].
Alipour, Mohammad Amin ;
Shi, August ;
Gopinath, Rahul ;
Marinov, Darko ;
Grocer, Alex .
2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, :16-26
[3]  
[Anonymous], 1989, INSIGHTS REGRESSION
[4]  
[Anonymous], 2005, ADDISON WESLEY OBJEC
[5]  
[Anonymous], 2013, Proceedings of the 2013 International Symposium on Software Testing and Analysis, ISSTA 2013, page
[6]  
[Anonymous], 2009, INTRO INFORM RETRIEV
[7]  
[Anonymous], 2015, THESIS
[8]  
ANSCOMBE FJ, 1953, J ROY STAT SOC B, V15, P1
[9]   It really does matter how you normalize the branch distance in search-based software testing [J].
Arcuri, Andrea .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2013, 23 (02) :119-147
[10]   Maintainability-based Requirements Prioritization by using Artifacts Traceability and Code Metrics [J].
Asghar, M. Waseem ;
Marchetto, Alessandro ;
Susi, Angelo ;
Scanniello, Giuseppe .
PROCEEDINGS OF THE 17TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2013), 2013, :417-420