The purpose of test suit reduction is to improve the efficiency of software testing and reduce the cost of test. At the same time
the coverage of the original test cases should be ensured invariable and the number of test cases could be reduced as possible with the use of a certain strategy. Vector similarity algorithm is that the binary vector similarity function should be used firstly
then the similarity
coverage and redundancy test cases needed be calculated
and the best test cases is selected according to the calculation result
finally we will get the optimal or approximate optimal test cases after the reduction. Compared with the existing algorithm of GRE
experiments show that the number of test cases decreased by about 10% averagely and the whole redundancy rate of test cases decreased by about 13% averagely according to the vector similarity algorithm.
关键词
Keywords
references
Zhang K, Chen H, Liu S, et al. Application of vector similarity method in multi-plan optimization[C]//IEEE International Conference on Information % Automation. China, Macau, 2015: 335-338.
Chen T Y, Lau M F. Dividing strategies for the optimization of a test suite[J]. Information Processing Letters, 1996, 60(3): 135-141. DOI: 135
William B Frakes, Ricardo Baeza-yates. Information retrieval: data structures and algorithms[M]. USA, Prentice-Hall Inc, 2009: 420-441.
Harrold M J, Gupta R, Soffa M L. A methodology for controlling the size of a test suite[J]. ACM Transaction on Software Engineering and Methodology, 1993, 2(3): 270-285. DOI: 270
Michael W Berry, Murry Browne. Understanding search engines mathematical modeling and text retrieval[R]. USA, Mishawaka: University of Tennessee, 1999: 31-39.