SQL test script generation method
A technology of test scripts and test methods, which is applied in the database field, can solve the problems of difficult new use cases, cost, maintenance cost, low efficiency, and complex test codes, and achieve the effect of improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] Embodiment 1 provides a test script use case writing language, which can express test cases with concise sentences. This method includes the following contents:
[0058] SQL Test Description: Configuration Description Use Case Description Group
[0059]The configuration description part and the use case description part, the configuration description is used to define the configuration of the use case when compiling and running, and the use case description group is used to define the specific test case.
[0060] The configuration described is specifically:
[0061] Config (configuration string)
[0062] Config is a syntax keyword, and the configuration string is placed between opening and closing parentheses.
[0063] The described use case description group is:
[0064] A use case description group is composed of one or more use case descriptions in sequence, and the method of a single use case is as follows:
[0065] TestCase use case name {execution statement gr...
Embodiment 2
[0104] Embodiment 2 provides a method for implementing a SQL test case writing language compiler, which can generate clear-structured target language use case codes, such as figure 1 As shown, the specific steps are:
[0105] S1, through lexical, grammatical and semantic analysis to get the intermediate data structure (i.e. execution tree).
[0106] S2, translate the intermediate data structure into the target language according to the compilation configuration.
[0107] Specifically:
[0108] S21, such as figure 2 As shown, the compiler provides basic execution environment implementations for different target languages, including virtual terminal implementations and basic implementations of test cases.
[0109] S211, such as image 3 As shown in , the virtual terminal enters the event loop after being started, receives and waits for user commands, executes the command and returns the corresponding execution result.
[0110] S212, the basic implementation of test cases i...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com