Database testing method and device, equipment and storage medium
A test method and database technology, applied in the computer field, can solve problems such as database correctness and compatibility methods that cannot meet requirements, and achieve the effects of reducing complexity, ensuring accuracy, and reducing workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] figure 1 It is a flow chart of the database testing method in Embodiment 1 of the present invention. This embodiment is applicable to the situation of implementing database testing. The method can be executed by a database testing device, and the device can use software and / or hardware. To achieve, the device can be configured in a device, for example, the device can be a smart phone, a tablet, or a computer. Such as figure 1 As shown, the method may specifically include:
[0041] S110. Obtain a test case corresponding to the current function to be tested in the target database, where the test case includes a test statement, configuration information and expected parameters.
[0042] Wherein, the target database may be any type of database, for example, the target database may be a homogeneous database or a heterogeneous database. The function to be tested is any one of the various functions included in the database. In this embodiment, the specific function to be te...
Embodiment 2
[0054] figure 2 It is a flowchart of the testing method of the database in the second embodiment of the present invention. In this embodiment, on the basis of the foregoing embodiments, the method for testing the foregoing database is further specified. Correspondingly, such as figure 2 As shown, the method of this embodiment specifically includes:
[0055] S201. Obtain a test case corresponding to the current function to be tested in the target database.
[0056] Wherein, the target database may be any type of database, for example, the target database may be a homogeneous database or a heterogeneous database. The function to be tested is any one of various functions included in the database, and the specific function to be tested is not limited in this embodiment. The test case includes pre-stored test sentences, configuration information and expected parameters, and the test case includes pre-stored test sentences, configuration information and expected parameters.
...
Embodiment 3
[0098] Figure 4 It is a schematic structural diagram of the database testing device in the third embodiment of the present invention, and this embodiment is applicable to the situation of realizing the database testing. The database testing device provided in the embodiment of the present invention can execute the database testing method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. The device specifically includes a test case module 310, a test execution module 320 and a test result module 330, wherein:
[0099] The test case module 310 is used to obtain the test case corresponding to the current function to be tested in the target database, and the test case includes test statements, configuration information and expected parameters;
[0100] The test execution module 320 is used to execute the test statement to obtain the test parameters if it is determined that the test case ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com