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

Automatic regression testing method and device, computer equipment and storage medium

An automatic regression and testing method technology, which is applied in computing, software testing/debugging, error detection/correction, etc., can solve problems such as difficulties, cumbersome API test scripts, and deficiencies, and achieve the effect of accurate results and fast data backtracking

Inactive Publication Date: 2020-10-02
深圳市富之富信息科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages are that, firstly, for test scenarios with complex business processes, it is difficult to replicate the same manual test through API script testing, and secondly, manual testing can be flexibly changed according to needs, and modifying complex API test scripts is often very cumbersome, so that not feasible
Script-based automated regression testing consists of relatively fixed test interface combinations and preset results. Compared with real human-computer interaction testing, it lacks in test integrity, complexity, and timeliness of test case updates.

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
  • Automatic regression testing method and device, computer equipment and storage medium
  • Automatic regression testing method and device, computer equipment and storage medium
  • Automatic regression testing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0050] The first embodiment of the present invention is: an automatic regression testing method, comprising the following steps,

[0051] Step S10, adding a common ID in the business system to associate business information;

[0052] In this step, add a general ID that associates all businesses in the business system, such as the order ID in the order management system or the application number ID in the credit application system, and use this ID in the design of the business database table to store user information, Account information, application information, approval information, quota information, loan records, repayment records, deduction records, overdue records and other main information are linked. Therefore, in this system, given a common ID, the relevant information in the database can be queried.

[0053] Step S20, when testers test the business system, record the test path information, the business process and status information of each test node; the business pr...

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 an automatic regression testing method and device, computer equipment and a storage medium, and the method comprises the steps: adding a universal ID in a business system, and enabling business information to be correlated; when a tester tests the service system, recording test path information and service flow and state information of each test node; storing the business process and the state information of the test case passing the test into a database; according to the universal ID, capturing the business process and state information of the test case from a database;performing regression testing according to the testing path information, generating a new universal ID, and associating and storing a service process and state information of the regression testing;and comparing the business process and the state information of the regression test with the business process and the state information of the test of the tester one by one field by field, and when the fields are the same, judging that the current regression test succeeds. According to the scheme, data backtracking can be carried out more quickly, and the backtracking result is more accurate.

Description

technical field [0001] The invention relates to a regression testing method, device, computer equipment and storage medium, in particular to an automatic regression testing method, device, computer equipment and storage medium. Background technique [0002] Automated regression testing is generally implemented by writing automated test scripts through the API interface provided by the system. A commonly used automatic test method is that developers or testers write and run test scripts according to the API interface provided by the system under test, and realize the purpose of automatic test by comparing the real-time output of the system with the preset output in the script. The benefit of this approach is simplicity, and simple test cases can be covered by testing the system API or combination of APIs under test. The disadvantages are that, firstly, for test scenarios with complex business processes, it is difficult to replicate the same manual test through API script tes...

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