Database testing method and system
A testing method and testing system technology, applied in the field of database, to achieve the effect of automatic testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0039] Such as figure 1 As shown, the first embodiment of the present invention proposes a database testing method, which includes the following steps:
[0040] S100, establishing a test framework for a stored procedure or function in a package of an Oracle database.
[0041] Specifically, an Oracle database application environment is built, and a corresponding test framework for stored procedures or functions in a package of the Oracle database is established for the system architecture of the specific application environment. The specific topology is as close as possible to the actual application.
[0042] S102, setting an automated test script, calling a stored procedure or function in a package of the background Oracle database to perform database testing.
[0043] Specifically, an automated test script is set, and the prepareCall method of ISQLServerConnection in Java is used to call the stored procedure or function in the package of the background Oracle database. The...
no. 2 example
[0048] Such as figure 2 As shown, the second embodiment of the present invention proposes a database testing method. In the second embodiment, the steps of the database testing method are similar to those in the first embodiment, the main difference is that step S204 is added on the basis of the first embodiment. The method specifically includes the following steps:
[0049] S200, establishing a test framework for a stored procedure or function in a package of the Oracle database.
[0050] Specifically, an Oracle database application environment is built, and a corresponding test framework for stored procedures or functions in a package of the Oracle database is established for the system architecture of the specific application environment. The specific topology is as close as possible to the actual application.
[0051] S202, setting an automated test script, calling a stored procedure or function in a package of the background Oracle database to perform database testing...
no. 3 example
[0060] Such as image 3 As shown, the third embodiment of the present invention proposes a database testing method. In the third embodiment, the steps of the database testing method are similar to those in the second embodiment, the main difference is that step S303 and step S308 are added on the basis of the second embodiment. The method specifically includes the following steps:
[0061] S300, establishing a test framework for a stored procedure or function in a package of the Oracle database.
[0062] Specifically, an Oracle database application environment is built, and a corresponding test framework for stored procedures or functions in a package of the Oracle database is established for the system architecture of the specific application environment. The specific topology is as close as possible to the actual application.
[0063] S302, setting an automated test script, calling a stored procedure or function in a package of the background Oracle database to perform da...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap