Test system and test method based on microkernel
A test system and microkernel technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as inability to visualize, code-free editing, etc., achieve the effect of simplicity and difficulty, and simple test case writing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] Such as figure 1 As shown, the present embodiment discloses a microkernel-based test system, which includes:
[0053] A storage layer, the storage layer uses a relational database management system MYSQL database;
[0054] The service layer, the service layer is built by the microservice architecture, and the service layer includes:
[0055] The swagger import module is used to regularly analyze interface information, form parameter document information and write it into the storage layer, and form an editable parameter input box;
[0056] The use case module is used to generate multiple use cases according to the test case parameter instance filled in by the user and the combination method set;
[0057] The script engine module is used to perform information execution according to the use case module, assert whether the test result is correct, form a test report and return to the page for display. .
[0058] The microkernel-based test system interacts as follows: ...
Embodiment 2
[0079] Such as image 3 As shown, this embodiment discloses a microkernel-based testing method, and the microkernel-based testing method in this embodiment is based on the operation and use of the microkernel-based testing system in Embodiment 1. This microkernel-based testing method includes the following steps:
[0080] Step S100, the swagger import module regularly analyzes the interface information, forms parameter document information and writes it into the storage layer, and forms an editable parameter input box through the parameter document information;
[0081] Specifically, the swagger import module regularly analyzes the interface information, forms parameter document information and writes it into the MYSQL database of the storage layer, and automatically forms an editable parameter input box through the parameter document information.
[0082] Step S200, the use case module receives the test case parameter instance filled in by the user in the parameter input box...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


