Unit test system and test method

A unit testing and scenario technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve the problems that single testing scenarios cannot be standardized and cannot be adapted to multiple data source formats, etc., to improve flexibility and self-efficacy. The effect of adaptability and easy operation

Active Publication Date: 2019-09-27
WEBANK (CHINA)
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The embodiment of the present invention provides a unit test system and test method to solve the problems in the prior art that the single test scene cannot be standardized and cannot adapt to various data source formats

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
  • Unit test system and test method
  • Unit test system and test method
  • Unit test system and test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] In order to better understand the above-mentioned technical solution, the above-mentioned technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention. To illustrate, rather than limit, the technical solutions of the present invention, the embodiments of the present invention and the technical features in the embodiments may be combined without conflict.

[0073] figure 1 A schematic diagram of a unit testing system provided by an embodiment of the present invention is shown, the system includes a listener 100 , a scene construction layer 200 , a data source adaptation layer 300 , a unit test module 400 , a business database 500 and a scene library 600 .

[0074] The listener 100 is used to obtain the scene ...

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 discloses a unit test system and a test method. The system comprises a monitor, a scene construction layer, a data source adaptation layer, a unit test module, a service database and a scene library. The scene construction layer can realize standardized management of a unit test scene, and the data source adapters with different data source formats in the data source adaptation layer can enable the system to adapt to various data source formats and convert the data source formats into a unified data format. Therefore, the problems that a single measurement scene cannot be standardized and cannot adapt to various data source formats in the prior art are solved. The unit test module tests the unit to be tested according to the scene data corresponding to the scene name stored in the business database, so that the independent and light software development kit is ensured not to invade the original single-test logic.

Description

technical field [0001] The invention relates to the technical field of unit testing, in particular to a unit testing system and a testing method. Background technique [0002] With the development of computer technology, more and more technologies (such as big data, distributed, blockchain (Blockchain), artificial intelligence, etc.) are applied in the financial field, and the traditional financial industry is gradually transforming into financial technology (Fintech). Unit testing technology is no exception, but due to the security and real-time requirements of the financial and payment industries, it also puts forward higher requirements for technology. [0003] At present, a typical unit testing process can be divided into the following steps: [0004] Data loading, unit test scenario initialization: This step is used to load business data from the data source and construct the required business scenarios. [0005] Execute the business logic to be tested: the actual cod...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3672Y02D10/00
Inventor 韦晨曦李懿陈世阳江旻李斌
Owner WEBANK (CHINA)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products