An efficient regression testing approach for PHP Web applications using test selection and reusable constraints

被引:1
作者
Ravi Eda
Hyunsook Do
机构
[1] North Dakota State University,
[2] Microsoft Corporation,undefined
[3] University of North Texas,undefined
来源
Software Quality Journal | 2019年 / 27卷
关键词
Regression testing; Test selection; Test reuse; PHP Web applications; Empirical studies;
D O I
暂无
中图分类号
学科分类号
摘要
Web applications undergo frequent changes. These changes can be due to the addition of new features or the modification of existing features to support customer requests or to patch faults in the system. Given that Web applications have a large surface area subject to attack, changes often include security fixes either in response to malicious attacks or to forestall such attacks. Effective regression testing should ensure that any change does not disable existing features or compromise security. Executing the entire regression test suite takes time and consumes many resources. One approach is to focus regression test efforts only on code paths that were modified in the new version. Such code paths can be identified using tools such as PHP Analysis and Regression Testing Engine (PARTE). In this paper, we extend this approach to test selection where a subset of existing tests that cover the modified code paths can be detected. To further reduce the amount of regression testing needed, we used PARTE’s reusable constraint value information to identify tests that can be reused against the new version without having to modify the input test values. We performed an empirical study to determine whether test selection data combined with reusable constraint values would further improve the turnaround time for regression tests. Results from the experiment conducted on four Hypertext Preprocessor (PHP) web applications demonstrate that this approach is effective in reducing the cost of regression testing of frequently patched Web applications.
引用
收藏
页码:1383 / 1417
页数:34
相关论文
共 44 条
[1]  
Do H(2014)An efficient regression testing approach for php web applications: a controlled experiment Journal of Software Testing, Verification and Reliability 24 367-385
[2]  
Hossain Md(2017)Effective regression test case selection: a systematic literature review ACM Computing Surveys 50 29:1-29:32
[3]  
Kazmi R(2013)Hampi: a solver for word equations over strings, regular expressions, and context-free grammars ACM Transactions on Software Engineering and Methodology 21 25:1-25:28
[4]  
Jawawi DNA(2002)Preliminary guidelines for empirical research in software engineering IEEE Transactions on Software Engineering 28 721-734
[5]  
Mohamad R(2012)Size-constrained regression test case selection using multicriteria optimization IEEE Transactions on Software Engineering 38 936-956
[6]  
Ghani I(2004)Chianti: a tool for change impact analysis of java programs SIGPLAN Notices 39 432-448
[7]  
Kiezun A(1996)Analyzing regression test selection techniques IEEE Transactions on Software Engineering 22 529-551
[8]  
Ganesh V(1997)A safe, efficient regression test selection technique ACM Transactions on Software Engineering and Methodology 6 173-210
[9]  
Artzi S(2015)Static change impact analysis techniques Journal of Systems and Software 109 137-149
[10]  
Guo PJ(2003)Using a concept lattice of decomposition slices for program understanding and impact analysis IEEE Transactions on Software Engineering 29 495-509