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

Code testing method and device, electronic equipment and storage medium

A code testing and code technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve problems such as inability to accurately locate code interfaces

Pending Publication Date: 2019-08-20
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present disclosure is to provide a code testing method, a code testing device, an electronic device, and a computer-readable storage medium, so as to overcome at least to a certain extent the inability to accurately locate the interface that changes in the code, and perform coding for the changed interface. test questions

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038]Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted.

[0039] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one...

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 a code testing method and device, electronic equipment and a storage medium, relates to the technical field of testing management in software testing, and can be applied to anapplication scene of carrying out code testing on software codes completed by developers. The code testing method comprises the steps of storing an interface and a function by adopting a storage modeof defining a relation between the interface and the function in a code; if the function in the code changes, determining an interface corresponding to the changed function as a target interface; anddetermining a test case corresponding to the target interface according to a preset mapping relationship between the interface and the test case, so as to test the code with the function changed based on the test case. According to the method and the device, the interface corresponding to the changed function in the software code can be accurately positioned, and the test case is generated basedon the positioned interface so as to test the code.

Description

technical field [0001] The present disclosure relates to the technical field of test management in software testing, and in particular, to a code testing method, a code testing device, an electronic device, and a storage medium. Background technique [0002] Code testing is an important task in software development. After developers complete the software code, testers need to continuously test to find some loopholes (ie bugs) in the code, so as to improve the code in time. [0003] In the existing code testing process, when the developer modifies the code, the tester needs to perform a full-process regression test on all codes to confirm that the modified code does not introduce new errors or cause errors in other codes. [0004] When code changes, regression testing needs to be performed on all interfaces, which results in huge testing workload for testers and increases the cost of system testing and maintenance and upgrades. [0005] It should be noted that the informatio...

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/3688G06F11/3684
Inventor 湛淼湘李江
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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