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

Method and device for selecting regression test case based on hierarchical test model

A layered testing and regression testing technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of lack of universality, high payment, high cost, etc., to achieve outstanding substantive features and wide application Foreground, Design Principles, Reliable Effects

Pending Publication Date: 2022-03-04
济南浪潮数据技术有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the visible risk of this form is that there is a risk of misjudgment due to human factors. Generally, enterprises also have an auxiliary automated interception method. After the code is integrated to trigger CI, the CI threshold test case set will determine whether to introduce new problems. However, due to the rapid iterative development model, CI The limited test scope of the threshold use case set is not accurate and comprehensive enough; technology companies with more advanced test technology accumulation are gradually introducing precise test oscilloscope technology to establish the mapping relationship between code and use cases, but for medium and large software design, a lot of research and development is required Investment and capital investment, and the solution is not mature enough, the cost is high, and a large amount of reconstruction or even redesign is required for the characteristic software, the cost is high and it is not universal, so the application promotion in the industry is not ideal

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 device for selecting regression test case based on hierarchical test model
  • Method and device for selecting regression test case based on hierarchical test model
  • Method and device for selecting regression test case based on hierarchical test model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0071] like figure 1 As shown, Embodiment 1 of the present invention provides a method for selecting a regression test case based on a hierarchical test model, including the following steps:

[0072] Step 11: Establish the association between UI / API use cases and demand test points, and enter them into the management database;

[0073...

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 belongs to the technical field of software testing, and particularly provides a method and device for selecting regression test cases based on a hierarchical test model.The method comprises the following steps that association between UI / API cases and demand test points is established and input into a management database; reading the established corresponding association from a management database table of the use case management system and recording the corresponding association into an import database; obtaining corresponding association recorded in the import database, and displaying a corresponding relationship between the demand test point and the test case association in a tree hierarchy manner; obtaining a corresponding relationship between interface calling of the submitted modified code and a function level, and filtering out an associated case; and automatically triggering API layer automatic regression verification and UI automatic regression verification, and outputting a regression test result. The corresponding relation between the use case and the code can be quickly and conveniently established on the existing automation framework, and the cost is greatly saved.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method and a device for selecting regression test cases based on a layered testing model. Background technique [0002] Today's software products are inseparable from the control of professional testing teams or testing links, especially with the increase in the complexity of software design, the probability of introducing new problems due to the increase in complexity after modification and discovery of known problems is also greatly increased Half of the research and development workload of most enterprise software is devoted to modification issues and modification introduction issues. Test cases are an important guide for the test team to verify product quality. In addition to the regression verification of use cases that modify code parts, it is still necessary to select some use cases that may introduce risks and perform regression verification at the same time. ...

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/3688G06F11/3692
Inventor 苏冉
Owner 济南浪潮数据技术有限公司
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