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

Inactive Publication Date: 2016-01-06
NANJING UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In different execution orders, the execution cost of each test case is generally fixed, so the switching cost between adjacent test cases will mainly affect the execution efficiency of the entire test case set in different execution orders
For example, for some software systems, it takes a lot of manpower and material resources to change its configuration during testing, such as replacing a piece of hardware, or recompiling some modules

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for determining execution sequence of test case sets
  • Method and system for determining execution sequence of test case sets
  • Method and system for determining execution sequence of test case sets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the object, technical solution and advantages of the present invention clearer, the specific implementation of the method and system for determining the execution sequence of the test case set in the embodiment of the present invention will be described below with reference to the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0055] The method for determining the execution sequence of the test case set in the embodiment of the present invention, such as figure 1 shown, including the following steps:

[0056] S100, read the initial test case set, and calculate a single use case switching cost between any two test cases.

[0057] It should be noted here that the test case set is exemplified as: suppose a system to be tested is affected by n parameters, and each parameter i has l i different discrete values, these values ​​f...

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

PUM

No PUM Login to view more

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.

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 吴化尧聂长海
Owner NANJING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products