Unlock instant, AI-driven research and patent intelligence for your innovation.

Database grammar compatibility testing method and device

A compatibility test and database technology, applied in the computer field, can solve problems such as code redundancy, inflexible code writing, and low efficiency, and achieve the effects of avoiding code redundancy, lowering the threshold for testers, and simplifying case design

Pending Publication Date: 2021-06-18
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of grammar testing for databases, in the face of rich database grammars, testers must write a large number of automated test cases to cover various grammar points. The door development language; the way of writing code is not flexible enough, adding or modifying the case needs to update the server

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
  • Database grammar compatibility testing method and device
  • Database grammar compatibility testing method and device
  • Database grammar compatibility testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0048] According to an aspect of an embodiment of the present invention, a method for testing database syntax compatibility is provided.

[0049] In enterprise-level PAAS (Platform-As-A-Service, Platform as a Service) platform products, there are adaptation scenarios for various databases. The platform needs to be able to support and be compatible with multiple databases,...

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 database grammar compatibility testing method and device, and relates to the technical field of computers. One specific embodiment of the method comprises the steps of abstracting the whole test process to serve as a peripheral basic framework, and using the peripheral basic framework for executing the following steps: obtaining configuration item information used for conducting a database grammar compatibility test, wherein the configuration item information comprises context configuration information of each test case and a test SQL statement identifier; obtaining a test SQL statement corresponding to the test SQL statement identifier; and executing the test SQL statement according to the context information to obtain a compatibility test result corresponding to each test case. According to the embodiment, a tester does not need to write a large number of peripheral codes, code redundancy is avoided, and the test efficiency is improved; flexible and multi-dimensional parameter configuration can be provided, and personalized configuration requirements of various scenes of database grammar testing are supported, so that the requirements of different testing scenes are met, case design is simplified, and the threshold of testers is reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for database syntax compatibility testing. Background technique [0002] In the prior art, when testing database syntax compatibility, test cases are usually designed for coverage according to each database syntax. In the course of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0003] In the process of grammar testing for databases, in the face of rich database grammars, testers must write a large number of automated test cases to cover various grammar points. The development language; the way of writing code is not flexible enough, and adding or modifying cases requires updating the server. Contents of the invention [0004] In view of this, the embodiment of the present invention provides a method and device for database syntax compatibility testing, which can save testers from wri...

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/36G06F16/242
CPCG06F11/3676G06F11/3684G06F16/2433
Inventor 刘禹杨宇鹏
Owner CHINA CONSTRUCTION BANK