Unlock instant, AI-driven research and patent intelligence for your innovation.

Automatic test case generation method and device, computer equipment and storage medium

A technology for automatic generation and test cases, applied in computing, software testing/debugging, error detection/correction, etc., can solve problems such as nonlinear logic expressions and external call function execution

Active Publication Date: 2018-04-06
CHINA ELECTRONICS PROD RELIABILITY & ENVIRONMENTAL TESTING RES INST
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for automatically generating test cases for the problem that symbolic execution cannot be executed for nonlinear logic expressions and external call functions

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
  • Automatic test case generation method and device, computer equipment and storage medium
  • Automatic test case generation method and device, computer equipment and storage medium
  • Automatic test case generation method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terminology used herein in the specification of the application is only for the purpose of describing specific embodiments, and is not intended to limit the application. It should be understood that the various steps in the flow chart of the present application are displayed in sequence according to the arrows, but these steps are not necessarily executed in sequen...

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 an automatic test case generation method and device, computer equipment and a storage medium. According to the automatic test case generation method and device, the computer equipment and the storage medium, in the process of executing a program statement, when branch statements in the program statement are non-linear logical expressions, a preset result value is called toreplace variable values in the non-linear logical expressions, wherein the preset result value is a result value obtained on the basis of program processing test data corresponding to the non-linearlogical expressions; when the branch statements in the program statement are external call functions, a preset running result is called to replace the call functions, wherein the preset running resultis a running result obtained on the basis of function processing test data corresponding to the call functions. By means of the scheme, the problem that symbolic execution cannot be aimed at non-linear logical expressions and external call functions is solved.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method, device, computer equipment and storage medium for automatically generating test cases. Background technique [0002] With the rapid development of global informatization, people pay more and more attention to the reliability and security of software such as industrial control systems and information systems. Software testing is the main technology to improve the reliability and security of software. Among them, how to improve the security and reliability of software by improving the automation of software testing has become a hot topic in today's academic circles. [0003] The automatic generation of test cases is an important manifestation of the automation degree of software testing. At this stage, the test case generation technology based on the execution method is generally adopted. This method first analyzes the execution path of the program, then replaces it with...

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/3688
Inventor 王剑亮李冬刘奕宏
Owner CHINA ELECTRONICS PROD RELIABILITY & ENVIRONMENTAL TESTING RES INST