An Optimization Method of Test Suite in Regression Test Model

Original test cases should be reused and new ones should be supplemented in regression test. For optimizing test suite, pair-wise combination test cases generating method is adopted in this paper, which was realized by ant colony algorithm with monolepsis diagnostic. When original and new generated test suite was united, improved greedy arithmetic was adopted to reduce test suite and random off-trap strategy was introduced. The test case study result shows the method can reduce the scale of test suite effectively and decrease the regression test cost.