Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Regression testing case priority ranking technology based on needs

A technology of prioritization and test cases, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as inability to highlight features, infrequent use, and increased computational complexity, to achieve high demand coverage, avoid Concentrated testing, tightly combined effect

Inactive Publication Date: 2016-03-30
SOUTHWEST UNIVERSITY
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (1) The factors related to the requirements considered are reasonable in theory, but they are not commonly used in the actual test environment, which increases the computational complexity;
[0008] (2) When quantifying the priority of requirements, the weighted average calculation method has great limitations, and cannot highlight the characteristics of a certain requirement in a specific environment:
[0009] (3) The dependency between requirements is not considered. For example, there are two requirements A and B. Requirement A is a login operation, and requirement B is to modify user information. The operation of requirement B can only be executed when the operation of requirement A is completed correctly. , in this case requirement A must be tested before requirement B

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
  • Regression testing case priority ranking technology based on needs
  • Regression testing case priority ranking technology based on needs
  • Regression testing case priority ranking technology based on needs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Such as figure 1 As shown, the requirement-based regression test case prioritization technology of the present invention specifically includes the following steps:

[0032] S101. Obtain all test requirements and test cases of the software and perform state initialization.

[0033] Specifically, the state of all test requirements is initialized as uncovered, and the state of all test cases is initialized as unused.

[0034] S102. Establish a corresponding relationship between test requirements and test cases and a dependency relationship between test requirements.

[0035] In general, one test case can only satisfy one test requirement, and one test requirement requires multiple test cases to be tested; test requirement A depends on test requirement B, which means that A can only be executed when B is executed correctly. In this case, B needs to be tested first, even if A has higher priority than B.

[0036] S103, ranking the primary and secondary relationships of 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 regression testing case priority ranking technology based on needs. The technology comprises the steps that all the testing needs and testing cases of software are obtained and subjected to state initialization; the corresponding relation between the testing needs and the testing cases and the dependency relation among the testing needs are set up; the primary and secondary relations of need factors are ranked; priority values of the need factors of all the testing needs are obtained; the priority values of all the testing needs are calculated; one testing need is selected; one testing case is selected from all the testing cases corresponding to the selected testing need according to the rule and executed; the selected testing need and the state of the selected testing cases are modified; the related testing case state is modified according to the testing case execution result; the specific testing needs and the state of the testing cases are reset according to the rule; whether ranking of all the testing cases is finished is judged. The technology has flexible pertinence, the higher need coverage rate can be achieved as fast as possible, and centralized testing of the testing needs is avoided.

Description

technical field [0001] The invention belongs to the field of regression testing, and in particular relates to a requirement-based prioritization technology of regression testing cases. Background technique [0002] Regression testing is a relatively frequent activity in the software testing process. When a round of software testing is completed for the first time and the problems found are fixed, the software needs to be tested again to verify the correctness of the software repairs. This process is called regression testing. The purpose of regression testing is to ensure that various modifications to the software will not introduce other unpredictable errors. Relevant literature shows that about 30% of errors are found by regression testing. In recent years, with the development of software technology and the increase of software scale, the number of test cases has been increasing, but the cost of time, manpower, and capital is limited. Under limited resources, it is impo...

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/3672
Inventor 刘玉欣高超张自力
Owner SOUTHWEST UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products