Method for dynamically adjusting priority sequence of test cases

A technology of prioritization and test cases, applied in software testing/debugging, etc., to achieve good test results

Inactive Publication Date: 2013-01-16
中国人民解放军63928部队
View PDF3 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to overcome the deficiencies of the above-mentioned prior art, the present invention provides a method for dynamically adjusting test case priority ranking, which applies the influencing factors related to system test requirements such as demand priority, demand change, implementation complexity and defect detection ability to The sorting of test cases helps to find more software defects in a short time and improve the efficiency of test cases by dynamically adjusting the priority of test cases during test execution

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 for dynamically adjusting priority sequence of test cases
  • Method for dynamically adjusting priority sequence of test cases
  • Method for dynamically adjusting priority sequence of test cases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0049] figure 1 Dynamically adjust method flow diagrams for test case prioritization.

[0050] In order to better measure the priority method, the metric APFD (Average of the Percentage of Faults Detected) of the weighted average percentage of defect detection during the execution of the test case set can be used, where the running status of the test case is used as the abscissa, The defect detection status of test cases is used as the ordinate, and the APFD value of the sorting method can be calculated from the defect detection curve. The larger the value of APFD, the faster the defect detection speed of the corresponding test case sorting is.

[0051] Assuming that the test case set T contains m test cases and there are k defects in the tested software P, the definition of APFD is:

[0052] APFD = 1 - ...

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 provides a method for dynamically adjusting a priority sequence of test cases. The method comprises the following steps of: designing the test cases; calculating priority values of the test cases; and sequencing and dynamically adjusting the test cases. By dynamically adjusting the priority of the test cases in the test execution process, a plurality of system defects can be found in short time, and the using efficiency of the test cases is improved.

Description

technical field [0001] The invention belongs to the technical field of computer information processing, and in particular relates to a method for dynamically adjusting test case priority ordering. Background technique [0002] In the process of software development and testing, with the changes and changes of the software under test, testers need to continuously update and add new test cases, which leads to the continuous increase of the scale of the test case set, and the cost of fully implementing it. In this case, in order to reduce the cost of test case execution and improve the use efficiency of test cases in the testing process, a lot of research work has been done on the selection and use of test cases. Among them, the test case sorting technology focuses on the execution strategy of the test cases in the test process. Since different test cases may have different contributions to the completion of the test goal, different test cases can be used after sorting accordin...

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 杨广华李东红邓世伟宗建建齐超刘宇郑彦兴
Owner 中国人民解放军63928部队
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