|Table of Contents|

[1] Cao Xi, Xu Lei, Method for test case selection and executionof web application regression testing [J]. Journal of Southeast University (English Edition), 2008, 24 (3): 325-329. [doi:10.3969/j.issn.1003-7985.2008.03.018]
Copy

Method for test case selection and executionof web application regression testing()
一种web应用回归测试的测试用例选择执行方法
Share:

Journal of Southeast University (English Edition)[ISSN:1003-7985/CN:32-1325/N]

Volumn:
24
Issue:
2008 3
Page:
325-329
Research Field:
Computer Science and Engineering
Publishing date:
2008-09-30

Info

Title:
Method for test case selection and executionof web application regression testing
一种web应用回归测试的测试用例选择执行方法
Author(s):
Cao Xi1 Xu Lei1 2
1School of Computer Science and Engineering, Southeast University, Nanjing 211189, China
2Jiangsu Institute of Software Quality, Nanjing 210096, China
曹曦1 许蕾1 2
1东南大学计算机科学与工程学院, 南京 211189; 2江苏省软件质量研究所, 南京 210096
Keywords:
regression testing web application test case selection control flow graph optimizing execution
回归测试 web应用 测试用例选择 控制流图 优化执行
PACS:
TP311.5
DOI:
10.3969/j.issn.1003-7985.2008.03.018
Abstract:
In order to improve the efficiency of regression testing in web application, the control flow graph and the greedy algorithm are adopted.This paper considers a web page as a basic unit and introduces a test case selection method for web application regression testing based on the control flow graph.This method is safe enough to the test case selection.On the base of features of request sequence in web application, the minimization technique and the priority of test cases are taken into consideration in the process of execution of test cases in regression testing for web application.The improved greedy algorithm is also raised resulting in optimization of execution of test cases.The experiments indicate that the number of test cases which need to be retested is reduced, and the efficiency of execution of test cases is also improved.
为了提高web应用回归测试的效率, 采用了控制流图和贪心算法.以页面为基本单位, 通过构造web应用的控制流图, 提出了一种基于控制流图的web应用回归测试的测试用例选择方法, 该方法是一种安全的测试用例选择方法.在web应用回归测试的测试用例执行中, 根据web应用中请求序列的特点, 采用了最小化技术并考虑测试用例的优先级, 提出了一种改进的贪心算法对测试执行进行了优化.实验结果表明, 该方法有效地减少了需要重测的用例数并且提高了测试执行的效率.

References:

[1] Graves T L, Harrold M J, Kim J-M, et al.An empirical study of regression test selection techniques [J].ACM Transactions on Software Engineering and Methodology, 2001, 10(2):184-208.
[2] Rothermel G, Untch R H, Chu C, et al.Prioritizing test cases for regression testing [J].IEEE Trans Software Engineering, 2001, 27(10):929-948.
[3] Rothermel G, Harrold M J.Analyzing regression test selection techniques [J].IEEE Trans Software Engineering, 1996, 22(8):529-551.
[4] Gupta R, Harrold M J, Soffa M L.An approach to regression testing using slicing [C]//Proc of International Conference on Software Maintenance(ICSM’92).Orlando, 1992:299-308.
[5] Agrawal H, Horgan J R, Krauser E W.Incremental regression testing [C]//Proc of International Conference on Software Maintenance(ICSM’93).Montreal, 1993:348-357.
[6] Rothermel G, Harrold M J.A safe, efficient regression test selection technique [J].ACM Transactions on Software Engineering and Methodology, 1997, 6(2):173-210.
[7] Ricca F, Tonella P.Web applications slicing [C]//Proc of International Conference on Software Maintenance(ICSM’01).Florence, 2001:148-157.
[8] Xu Lei, Xu Baowen, Chen Zhenqiang, et al.Regression testing for web applications based on slicing [C]//Proc of Computer Software and Applications Conference. Dallas, Texas, USA, 2003:652-656.
[9] Wong W E, Horgan J R, London S, et al.A study of effective regression testing in practice[C]//Proc of the 8th IEEE International Symposium on Software Reliability Engineering.Albuquerque, 1997:264-274.
[10] Kim Jung-Min, Porter Adam.A history-based test prioritization technique for regression testing in resource constrained environments [C]//Proc of the 24th International Conference on Software Engineering.New York, 2002:119-129.
[11] Kung D C, Liu C H, Hsia P.An object-oriented web test model for testing web applications[C]//Proc of the First Asia-Pacific Conference on Quality Software.Hong Kong, 2000:111-120.

Memo

Memo:
Biographies: Cao Xi(1983—), male, graduate;Xu Lei(corresponding author), female, doctor, associate professor, xlei@seu.edu.cn.
Foundation items: The National Natural Science Foundation of China(No.60503020, 60503033, 60703086), Opening Foundation of Jiangsu Key Laboratory of Computer Information Processing Technology in Soochow University(No.KJS0714).
Citation: Cao Xi, Xu Lei.Method for test case selection and execution of web application regression testing[J].Journal of Southeast University(English Edition), 2008, 24(3):325-329.
Last Update: 2008-09-20