Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Unit test method and device, electronic equipment and storage medium

A technology of unit testing and test cases, which is applied in the fields of media and program products, equipment, devices, and unit testing methods, can solve problems such as unit testing failure, and achieve the effect of reducing dependencies and solving strong dependencies

Pending Publication Date: 2022-04-29
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of implementing the disclosed inventive concept, the inventors found that there are at least the following problems in the related art: the unit test method of the related art has a strong dependence on the public database. When the database data on which the test case depends is modified or deleted, It is easy for unit tests to fail

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 method and device, electronic equipment and storage medium
  • Unit test method and device, electronic equipment and storage medium
  • Unit test method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055]Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. It should be understood, however, that these descriptions are exemplary only, and are not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.

[0056] The terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the present disclosure. The terms "comprising", "comprising", etc. used herein indicate the presence of stated features, ...

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 provides a unit testing method which can be applied to the financial field or other fields. The unit test method comprises the steps that a test task is received, and the test task comprises identification information of a to-be-executed test case; generating a memory database corresponding to the identification information of the test case according to test hotspot data from a data warehouse system; under the condition that the test hotspot data comprises test basic data corresponding to the test case, executing the test task according to the test case and the test basic data to obtain a test result; and sending the test result to the data warehouse system, so that the data warehouse system updates the test hotspot data in the data warehouse system according to the test result. The invention further provides a unit testing device, equipment and a storage medium.

Description

technical field [0001] The present disclosure relates to the technical field of automated testing, in particular to a unit testing method, device, equipment, medium and program product. Background technique [0002] Unit testing is a targeted, comprehensive and thorough systematic testing of each module of the software. Unit testing is of great significance for discovering the loopholes of the program in the early stage of development and improving the stability of the program. In related technologies, the unit test method using database statements such as sal needs to use test data in a public data warehouse to execute unit test tasks. [0003] In the process of implementing the disclosed inventive concept, the inventors found that there are at least the following problems in the related art: the unit test method of the related art has a strong dependence on the public database. When the database data on which the test case depends is modified or deleted, It is easy for u...

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 INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products