Protocol conformance test case priority ordering method based on risk analysis

A technology of test cases and risk analysis, applied in software testing/debugging, error detection/correction, instruments, etc., to achieve the effect of improving requirement coverage and fault detection rate

Inactive Publication Date: 2018-08-24
CHONGQING UNIV OF POSTS & TELECOMM
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of protocol conformance regression testing and fault de

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
  • Protocol conformance test case priority ordering method based on risk analysis
  • Protocol conformance test case priority ordering method based on risk analysis
  • Protocol conformance test case priority ordering method based on risk analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0050] A protocol conformance test case prioritization method based on risk analysis This method is divided into two stages: the first stage is to generate the initial test case execution sequence. According to the tested protocol standard specifications, establish the functional dependencies among test requirements, take the depth of requirement dependence, failed requirements in test records, and the number of test cases covering this requirement as factors affecting the risk weight of requirements, and establish a failure risk analysis model. Then, according to the coverage mapping relationship between test requirements and test failures, the risk exposure value of test requirements is obtained. The initial test case execution sequence is generated by taking the sum of risk exposure values ​​as the basis for importance calculation. The ...

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 relates to a protocol conformance test case priority ordering method based on risk analysis, and belongs to the field of communication protocol conformance test. The method comprises thefollowing steps that: S1: establishing a fault risk analysis model, and calculating a test case importance degree TITCz; S2: according to the test case importance degree, generating an initial execution sequence Tseq, and executing a test; S3: after a fault is detected, updating the priori entropy HTi(2) of rest cases which are not executed; and S4: selecting the case with a minimum priori entropy value as a next case to be executed, and updating an update test case execution sequence Tseq. By use of the method, a test fault detection rate as well as a requirement coverage rate and a fault error detection rate of a conformance regression test in each regression process can be improved.

Description

technical field [0001] The invention belongs to the technical field of communication protocol software conformance testing, and relates to a method for prioritizing test cases of protocol conformance testing based on risk analysis. Background technique [0002] In the process of protocol conformance, as the defects of the system under test are repaired, regression testing is required to ensure that the modified part has no impact on other unmodified parts, or that no new faults have been introduced. In the process of continuous modification and improvement, under the condition of limited resources, re-executing all test cases consumes time, manpower and money. It is necessary to select valuable test cases from the test case library for priority execution to improve the fault detection rate and provide early feedback to testers and managers to start debugging earlier. According to the given goal, the test case prioritization technology prioritizes the test cases with differe...

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
IPC IPC(8): G06F11/36
CPCG06F11/3676G06F11/3684G06F11/3688
Inventor 谢昊飞张艺王平高兴苏文君
Owner CHONGQING UNIV OF POSTS & TELECOMM
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