Regression testing based on agile development mode is faced with the problem of fast delivery. So a new algorithm is proposed. Firstly
the regression test cases are divided into new function test cases and original function test cases
and different algorithms are adopted: analyzing the mapping relationship between requirements and modules as well as between modules and test cases
completing the sorting of new function test cases; combined with the original sorting
and analyzing the impact of new functions on the original functions
as well as the execution of test cases
completing the sorting of original function test cases. Then the priority of test cases is adjusted dynamically during the execution. Finally
through the experiments on the open data set of Google
the effectiveness of the algorithm is verified. The average APFD value is 98.08%.
关键词
Keywords
references
ELBAUM S, MALISHEVSKY A G, ROTHERMEL G.Prioritizing test cases for regression testing[C]// Proceedings of the 2000 International Symposium on SoftwareTesting and Analysis. New York: ACM, 2000: 102-112.
CHEN J, SHU Q, XIE H F.Priority ranking method of test cases based on fault location[J]. Computer Science, 2019, 46(8): 239-243. DOI: 239
WANG X L, ZENG H W, LIN W W.Techniques for regression testing in agile developmentenvironment[J].Chinese Journal of Computers, 2019, 42(10):2323-2338. DOI: 2323
Beijing ZHU S M. Software testing[M].(2nd Edition). Beijing: Posts % Telecom Press, 2016.
ROTHERMEL G, UNTCH RH, CHU C, et al. Prioritizing test cases for regression testing[J]. IEEE Transactions on Software Engineering, 2001, 27(10): 929-948. DOI: 929
QU B, NIE C H, XU B W. Test Case Prioritization Based on Test Suite Design Information[J].Chinese Journal of Computers, 2008, 31(3):431-439. DOI: 431
YANG G H, BAO Y, LI D H, et al. Test case prioritization based on requirement[J].Computer Engineering and Design, 2011, 32(8):2724-2728. DOI: 2724
CHEN X, CHEN J H, JU X L, et al. Survey of test case prioritization techniques for regression testing[J]. Journal of Software, 2013, 24(8):1695-1712. DOI: 1695
CHANG L H, MIAO H K, XIAO L. Self-adaptive test case prioritization based on history information[J]. Computer Science, 2015, 42(9): 154-158. DOI: 154
ZHANG N, YAO L, BAO X A, et al. Multi-Objective optimization based on-line adjustment strategy oftest case prioritization[J].Journal of Software, 2015, 26(10):2451-2464. DOI: 2451
LI Y L, WANG Q. Test set optimization in continuous integration: A systematic literature review[J].JournalofSoftware, 2018, 29(10):3021-3050. DOI: 3021