Program testing method and device, electronic equipment and storage medium

A technology of program testing and program, which is applied in the field of testing, can solve the problems that the technology cannot be applied on a large scale, and achieve the effect of improving the degree of automation and accurate detection

Active Publication Date: 2020-12-04
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, fuzz testing technology is often used for software testing, namely: inputting automatically or semi-automatically generated random data into the test program, monitoring and collecting abnormal performance of the program to find possible program errors, but this technology often relies on Manually written test driver functions, or manually written test input samples, make this technology unable to be applied on a large scale

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present disclosure and cannot be construed as limiting the present disclosure.

[0027] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present disclosure refers to the presence of features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, Steps, operations, elements, components and / or groups thereof. It wil...

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 testing, and discloses a program testing method and device, electronic equipment and a storage medium, and the program testing method comprises the steps: carrying out the static analysis of a program code of a to-be-tested program, obtaining a to-be-tested function in the program code, and analyzing the to-be-tested function to obtain the key information of the to-be-tested function; generating a test driving code for driving a to-be-tested program to test based on the key information of the to-be-tested function; and performing a fuzzy test onthe program code by using the test drive code to determine exception information in a to-be-tested program, the exception information including at least one of an error code and a security hole. By utilizing the program testing method provided by the invention, full-flow automatic program automatic fuzzy testing can be realized, and the detection accuracy of error codes and security vulnerabilities in program codes is improved.

Description

technical field [0001] The present disclosure relates to the technical field of testing, and in particular, the present disclosure relates to a program testing method, device, electronic equipment and storage medium. Background technique [0002] For program projects, testing activities can improve the quality and reliability of program projects. Taking software program projects as an example, the testing activities in the software testing phase include: unit testing, integration testing, system testing, regression testing, performance testing, acceptance testing, etc. stage of testing activities. [0003] In the prior art, fuzz testing technology is often used for software testing, namely: inputting automatically or semi-automatically generated random data into the test program, monitoring and collecting abnormal performance of the program to find possible program errors, but this technology often relies on Manually written test driver functions or manually written test in...

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/3684G06F11/3688Y02D10/00
Inventor 王聪杨经宇王赛丁保增
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
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