Improving Requirements Coverage in Test Case Prioritization for Regression Testing

被引:2
作者
Butool, Rimsha [1 ]
Nadeem, Aamer [1 ]
Sindhu, Muddassar [2 ]
Zaman, Qamar Uz [1 ]
机构
[1] Capital Univ Sci & Technol, Dept Comp Sci, Islamabad, Pakistan
[2] Quaid I Azam Univ, Dept Comp Sci, Islamabad, Pakistan
来源
2019 22ND IEEE INTERNATIONAL MULTI TOPIC CONFERENCE (INMIC) | 2019年
关键词
Regression testing; test case prioritization;
D O I
10.1109/inmic48123.2019.9022761
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Regression testing is performed whenever software undergoes modifications, which may be due to bug fixes or feature enhancements. The purpose of regression testing is to ensure that modifications to the code do not affect the existing functionality. Regression testing is costly because the test suite might be too large to execute in full. To reduce this cost, regression testing has three main approaches, i.e., test suite minimization, test case selection and test case prioritization. Test case prioritization does not eliminate any test case rather it finds an ordered list of test cases to maximize the fault detection rate. Black box prioritization prioritizes test cases based on requirements coverage, while white box approaches prioritize test cases based on code coverage. The focus of this paper is on the black box test case prioritization using requirements coverage for regression testing. Black box prioritization is independent of the code modifications, therefore, it can be started early. The proposed approach prioritizes test cases based on the complexity of requirements covered. The existing requirements based prioritization techniques assign equal importance to each requirement when prioritizing test cases based on requirements coverage, which may not maximize fault detection rate because complex requirements may need to be tested with multiple test cases. Our proposed approach assigns weights to the requirements based on their complexity, and test cases are prioritized using these weights. Comparison with existing approach shows that the proposed approach results in better prioritization of test cases because of higher average percentage of fault detection (APFD).
引用
收藏
页码:191 / 196
页数:6
相关论文
共 20 条
[1]  
[Anonymous], 1995, P 12 INT C TEST COMP
[2]  
Arafeen M. J., 2013, INT C SOFTW TEST
[3]   An Introduction to Software Testing [J].
Baresi, Luciano ;
Pezze, Mauro .
ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 148 (01) :89-111
[4]  
C Henard, 2016, P 38 INT C SOFTW ENG
[5]   Dividing strategies for the optimization of a test suite [J].
Chen, TY ;
Lau, MF .
INFORMATION PROCESSING LETTERS, 1996, 60 (03) :135-141
[6]  
Do H, 2005, PROC IEEE INT CONF S, P411
[7]   Test case prioritization: A family of empirical studies [J].
Elbaum, S ;
Malishevsky, AG ;
Rothermel, G .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (02) :159-182
[8]  
Harrold M. J., 1993, ACM Transactions on Software Engineering and Methodology, V2, P270, DOI 10.1145/152388.152391
[9]   Effective Regression Testing Using Requirements and Risks [J].
Hettiarachchi, Charitha ;
Do, Hyunsook ;
Choi, Byoungju .
2014 EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE SECURITY AND RELIABILITY, 2014, :157-166
[10]  
Kavitha R., 2010, 2010 International Conference on Communication Control and Computing Technologies, P826, DOI 10.1109/ICCCCT.2010.5670728