Dynamic compilation-based business scenario automated test method

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

Active Publication Date: 2018-08-24
JIQI CHENGDU TECH CO LTD
View PDF8 Cites 11 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
  • Dynamic compilation-based business scenario automated test method
  • Dynamic compilation-based business scenario automated test method

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 the key steps of automated testing such as request packet construction, interface call, response data analysis, result verification, data source acquisition and database operation to test implementation in a more standardized and readable ...

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 present invention discloses a dynamic compilation-based business scenario automated test method. The method comprises the following steps: A, DSL construction; B, online debugging; C, task pre-compilation; and D, result verification. According to the method disclosed by the present invention, a simple and easy-to-use DSL is used, so that the requirement of the business scenario automated testfor the coding capability is reduced; by performing use case code online debugging, the efficiency of automated test implementation is improved; and in addition, based on data type identification anddata source integration, the powerful and easy-to-use result verification capability is provided.

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 Applications(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products