Test cases comprehensive evaluation model
|School||Kunming University of Science and Technology|
|Course||Applied Computer Technology|
|Keywords||Software Testing Test cases Comprehensive Evaluation Model Influencing factors Analytic Hierarchy Process|
With the proliferation of computers and applications, makes it dependent on software is growing at the same time, there is a problem with the software to bring more and more serious harm, making it more and more attention to the quality of the software. Software testing is an important technique for software quality assurance, and occupies a very important position in the software lifetime. According to Boehm statistics, the total cost of software development, test cost will account for 30% to 50%. Therefore, improving the efficiency of software testing and reduce the test cost to have a very real sense. The test case is the core of the entire software testing, a good test case as much as possible to find errors, and even found've never found errors, thereby improving the efficiency of the test. The test data is the most central part in the entire test case, the key is to design a good test case design good test data, test data plays a very crucial role in the whole process of software testing. A comprehensive evaluation of the test cases will help people choose a good use case in the test, thereby reducing the cost of testing. This paper introduces the test cases to evaluate the research status at home and abroad, ranking and selection of test cases mainly use coverage, coverage used include: code coverage, branch coverage, condition coverage; found error ranking and selection of test cases, but also the running time of the test data to sort the test cases, but there is no comprehensive consideration of these factors, to form an overall evaluation model. In response to the current problems, the paper proposed five factors affecting the test case: test data reuse the ratio of the number of times the running time of the test data and interface size, the coverage of test cases, test cases found that the severity of the error, found never to not found error. First of all, using the analytic hierarchy process affect the weight of the test cases factors determine the comprehensive evaluation model of the preliminary test cases. Then using pairwise comparison method and the method of dynamic weight values ??to determine the value of the evaluation factors under different conditions, the similarity of the test case sequence and experts sorting through the experiment, it is determined by the comprehensive evaluation model, evaluation of this the pros and cons of the model; through the the similarity right to determine the size of the value, the use of the idea of ??the variance to determine the value of the minimum variance, in order to determine the optimal solution, drawn five of the weights of the evaluation factors, eventually come to a workable test cases comprehensive evaluation model.