Method and system for determining execution sequence of test case sets

A test case set and test case technology, applied in the computer field, can solve the problems of recompilation, affecting the execution efficiency of the test case set, large manpower and material resources, etc., to save manpower and material resources, small test switching costs, and reduce test overhead. Effect
CN103577325BInactive Publication Date: 2016-01-06NANJING UNIV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NANJING UNIV
Publication Date
2016-01-06
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method and a system for determining an execution sequence of a test case suite. The method comprises the steps as follows: the single case switching cost between any two test cases in an initial test case suite is calculated; h test cases with all combination possibilities are selected from the initial test case suite, and all the possible first optimum execution sequences and first switching costs which are formed by the h test cases are obtained; according to the first switching costs and the single case switching cost, all possible second optimum execution sequences and second switching costs which are formed by h+1 test cases are calculated and obtained; the second optimum execution sequences and the second switching costs are taken as the first optimum execution sequences and the first switching costs respectively, h is increased by 1, a previous step is returned until the second optimum execution sequences comprise all test cases; and a second optimum execution sequence with the smallest second switching cost is taken as the optimum execution sequence, so that minimum reconfiguration times of parameters in a test can be realized, and the expenditure is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of computers, in particular to a method and system for determining the execution sequence of a test case set. Background technique

[0002] Software testing is an important step to ensure software quality. Given a set of test cases, testers usually need to execute the test cases contained in it in a certain order. In general, this execution order is equivalent to the order in which each test case is generated, that is, the entire test case set is executed in order from top to bottom. However, with the continuous growth of software scale and functions, a considerable number of test cases are often needed to test the software. Therefore, how to execute the entire set of test cases quickly and efficiently with limited testing cost (available time and resources) is an important issue that needs to be considered in practical testing.

[0003] Generally speaking, the test cost includes the execution cost of each test cas...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More