arrow
Return

Test case selection-prioritization approach based on memoization dynamic programming algorithm

delete2019-11-01
delete13
PRE
AI
O
Ovidiu Baniaș *
DOI:10.1016/j.infsof.2019.06.001delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Context: In the software industry, selection and prioritization techniques become a necessity in the regression and validation testing phases because a lot of test cases are available for reuse, yet time and project specific constraints must be respected. Objective: In this paper we propose a dynamic programming approach in solving test case selection-prioritization problems. We focus on low memory consumption in pseudo-polynomial time complexity applicable in both selection and selection-prioritization problems over sets of test cases or test suites. In dynamic programming optimization solutions, huge amounts of memory are required and unfortunately the memory is limited. Therefore, lower memory consumption leads to a higher number of test cases to be involved in the selection process. Method: Our approach is suited for medium to large projects where the required memory space is not higher than the order of tens of GBytes. We employed both objective methods as the dynamic programming algorithm and subjective and empiric human decision as defining the prioritization criteria. Furthermore, we propose a method of employing multiple project specific criteria in evaluating the importance of a test case in the project context. Results: To evaluate the proposed solution relative to the classical dynamic programming knapsack solution, we developed a suite of comparative case studies based on 1000 generated scenarios as close as possible to real project scenarios. The results of the comparative study reported the proposed algorithm requires up to 400 times less memory in the best-case scenarios and about 40 times less memory in average. Conclusion: The solution delivers optimal results in pseudo-polynomial time complexity, is effective for amounts of test cases up to the order of millions and compared with the classical dynamic programming methods leads to higher number of test cases to be involved in the selection process due to reduced memory consumption.
Keywords:
Software testing
Test case selection
Test case prioritization
Dynamic programming
Algorithms
Relation-based test case prioritization for regression testing
err2020-05-01
err36
PREAI
errChi, Jianlei; Qu, Yu; Zheng, Qinghua; Yang, Zijiang; Jin, Wuxia; Cui, Di; Liu, Ting
errShare
errSave
Dominating set-based test prioritization algorithms for regression testing
err2022-06-29
err2
PREAI
errDemir, Zafer Can; Emrah Amrahov, Sahin
errShare
errSave
Improved novel bat algorithm for test case prioritization and minimization
err2022-05-06
err14
PREAI
errBajaj, Anu; Sangwan, Om Prakash; Abraham, Ajith
errShare
errSave
Test case prioritization using partial attention?
err2022-10-01
err3
errOAAI
errZhang, Quanjun; Fang, Chunrong; Sun, Weisong; Yu, Shengcheng; Xu, Yutao; Liu, Yulei
errShare
errSave
A Static Approach to Prioritizing JUnit Test Cases
err2012-11-01
err113
PREAI
errMei, Hong; Hao, Dan; Zhang, Lingming; Zhang, Lu; Zhou, Ji; Rothermel, Gregg
errShare
errSave
Test case prioritization approaches in regression testing: A systematic literature review
err2018-01-01
err148
errOAAI
errKhatibsyarbini, Muhammad; Isa, Mohd Adham; Jawawi, Dayang N. A.; Tumeng, Rooster
errShare
errSave
Prioritizing test cases for regression testing
err2001-10-01
err828
PREAI
errRothermel, G; Untch, RH; Harrold, MJ
errShare
errSave
Test case selection and prioritization using machine learning: a systematic literature review
err2021-12-14
err68
PREAI
errPan, Rongqi; Bagherzadeh, Mojtaba; Ghaleb, Taher A.; Briand, Lionel
errShare
errSave

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
9.5K

Organization

U
Universitatea Politehnica Timisoara
Scholars:
2.0K
Papers: 1.4K
Citations: 1.2K
Cited Papers

Cited Papers

Test case prioritization approaches in regression testing: A systematic literature review
err2018-01-01
err148
errOAAI
errKhatibsyarbini, Muhammad; Isa, Mohd Adham; Jawawi, Dayang N. A.; Tumeng, Rooster
errShare
errSave
errShare
errSave
errShare
errSave
Multidirectional effects of triterpene saponins on cancer cells - mini-review of in vitro studies
err2015-08-26
err0
errOAAI
errPaulina Koczurkiewicz; Jarosław Czyż; Irma Podolak; Katarzyna Wójcik; Agnieszka Galanty; Zbigniew Janeczko; Marta Michalik
errShare
errSave
Multi-objective test case prioritization in highly configurable systems: A case study
err2016-12-01
err66
errOAAI
errParejo, Jose A.; Sanchez, Ana B.; Segura, Sergio; Ruiz-Cortes, Antonio; Lopez-Herrejon, Roberto E.; Egyed, Alexander
errShare
errSave
Controlled partial embedding of carbon nanotubes within flexible transparent layers
err2007-12-13
err0
PREAI
errElijah B Sansom; Derek Rinderknecht; Morteza Gharib
errShare
errSave
To Be Optimal or Not in Test-Case Prioritization
err2016-05-01
err65
PREAI
errHao, Dan; Zhang, Lu; Zang, Lei; Wang, Yanbo; Wu, Xingxia; Xie, Tao
errShare
errSave
researcher View more