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

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

Pending Publication Date: 2022-02-25
SHENZHEN BINCENT TECH
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing interface-automated testing still has the following defects: many interface function tests of the existing automated testing framework business scenarios require writing codes, which cannot be visualized and edited without code

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
  • Test system and test method based on microkernel
  • Test system and test method based on microkernel
  • Test system and test method based on microkernel

Examples

Experimental program
Comparison scheme
Effect test

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...

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 relates to the technical field of automatic testing, in particular to a test system and method based on microkernel, and the system comprises a storage layer which uses a relational database to manage a system MYSQL database; a service layer which is built by a micro-service architecture, and comprises a swagger import module used for analyzing interface information at regular time, forming parameter document information, writing the parameter document information into the storage layer and forming an editable parameter input box; a use case module which is used for generating a plurality of use cases according to test case parameter instances filled by a user and a set combination method; and a script engine which is used for asserting whether a test result is correct or not according to the case module information execution, forming a test report and returning the test report to a page for display. According to the test system, visual parameter editing is achieved, compiling of the functional interface use case can be completed without codes or only with a small number of expressions, the difficulty of compiling the use case is greatly lowered, and the automatic test use case with the process function can be rapidly started and written.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to a microkernel-based testing system and method. Background technique [0002] Automated testing is a process of transforming human-driven testing behavior into machine execution. With the rapid development of the Internet, compared with previous years, the proportion of automated testing technology has remained stable and high. There are fewer and fewer technical fields that do not understand and do not use automated testing, which shows that the popularity and application of automated testing technology has tended to be popular. Automated testing has the following advantages: more and more tedious tests can be run; automated scripts can be run repeatedly; human errors can be reduced; limitations of manual testing can be overcome. [0003] Automated testing mainly includes the following categories: Web-automated testing, mobile-automated testing, interface-automated tes...

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/36
CPCG06F11/3688G06F11/3684
Inventor 王国彬牟锟伦林帅丁培楷郑永荣
Owner SHENZHEN BINCENT TECH