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

An automated testing method for business scenarios based on dynamic compilation

A technology of automated testing and dynamic compilation, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as high cost, difficult to support response data structure verification, lack of database operation integration, etc., to improve implementation efficiency , powerful and easy-to-use result verification capabilities, and the effect of reducing the requirements for coding capabilities

Active Publication Date: 2021-07-27
JIQI CHENGDU TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Existing web automation testing methods mainly conduct independent tests for each interface, which cannot support automated testing of complete business scenarios, or the cost of support is very high; most web automated testing methods provide services in offline form, and automated testing The implementation is a static code project, and test cases and data are managed through text files, which is weak in multi-person collaboration, parallel tasks, real-time updates, etc.; existing Web automated testing methods usually use regular Matching method, it is difficult to support the verification of complex response data structures, such as array verification, array specified element verification, etc., and this type of response data structure is very common in the current Internet system; existing Web automated testing methods lack Integration of database operations, such as data presetting, data cleansing, and data table data inspection, etc.

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
  • An automated testing method for business scenarios based on dynamic compilation
  • An automated testing method for business scenarios based on dynamic compilation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0016] see Figure 1-2 , the present invention provides a technical solution: a method for automatically testing business scenarios based on dynamic compilation, comprising the following steps:

[0017] A. Build DSL: Provide test implementers with a more standardized and readable method for the key steps of request data package construction, interface call, response data analysis, result verification, data source acquisition and database operation automated te...

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 discloses a business scene automatic testing method based on dynamic compilation, comprising the following steps: A. building a DSL; B. online debugging; C. task precompilation; D. result verification; the invention adopts a simple and easy-to-use DSL , to reduce the requirements for coding capabilities in automated testing of business scenarios; online debugging of use case codes, to improve the efficiency of automated testing implementation; in addition, based on data type identification and data source integration, it provides powerful and easy-to-use result verification capabilities.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to an automated testing method for business scenarios based on dynamic compilation. Background technique [0002] Existing web automation testing methods mainly conduct independent tests for each interface, which cannot support automated testing of complete business scenarios, or the cost of support is very high; most web automated testing methods provide services in offline form, and automated testing The implementation is a static code project, and test cases and data are managed through text files, which is weak in multi-person collaboration, parallel tasks, real-time updates, etc.; existing Web automated testing methods usually use regular Matching method, it is difficult to support the verification of complex response data structures, such as array verification, array specified element verification, etc., and this type of response data structure is very common in the ...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3664G06F11/3684G06F11/3688
Inventor 罗波
Owner JIQI CHENGDU TECH CO LTD
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