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

Test method and device, electronic equipment, storage medium and program product

A test method and technology of electronic equipment, applied in the computer field, can solve problems such as low accuracy, low efficiency of static type correctness, and inability to determine specific information of functional units, so as to achieve the effect of improving efficiency and accuracy, and improving efficiency

Pending Publication Date: 2022-01-28
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present disclosure provides a test method, device, electronic equipment, storage medium and program product, to at least solve the inability to determine the specific information of the static type test result of the functional unit in the related art, and the low efficiency of determining the correctness of the static type of the subcode of the functional unit and the problem of low accuracy

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 method and device, electronic equipment, storage medium and program product
  • Test method and device, electronic equipment, storage medium and program product
  • Test method and device, electronic equipment, storage medium and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0061] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 test method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of computers. The testing method comprises the steps of obtaining a to-be-tested target code; performing a first static type test on the functional unit sub-code by using the first test data to obtain a current first test result, and performing a second static type test on the functional unit sub-code by using the second test data to obtain a current second test result; and if the current first test result is determined to be an expected test result corresponding to the first test data and the current second test result is determined to be an expected test result corresponding to the second test data, determining that the static type of the functional unit subcode is correct. According to the invention, the accuracy of the obtained test result of the static type of the functional unit subcode is improved, and the efficiency and the accuracy of determining the correctness of the static type of the functional unit subcode are improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a test method, a test device, electronic equipment, a computer-readable storage medium and a computer program product. Background technique [0002] In the process of code testing, in order to optimize the code, some functional units in the code can be refactored. In order to judge whether the code refactoring destroys the function of the code, the functional units in the code can be tested after the code is refactored. , to check the correctness of the business logic and static typing of the functional units in the code. [0003] In related technologies, for the written code, before and after code refactoring, a unit test can be performed on the functional units in the code based on the test framework. However, for the code written in some programming languages, although the correctness of the business logic of the functional unit in the code can be tested by usi...

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/36G06F8/30
CPCG06F11/3604G06F8/315
Inventor 杨乾军
Owner BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
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