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

Automatic test case generation method and device, equipment, medium and program product

A test case and automatic generation technology, applied in the field of artificial intelligence, to achieve the effect of reducing workload, high timeliness, and saving resources

Pending Publication Date: 2022-07-08
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

Although test cases cannot eliminate software defects, good test cases can find most of software defects and make a great contribution to software quality

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying 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 convenience of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It will be apparent, 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.

[0033] In the technical solution of the present disclosure, the acquisition, storage and application of the user's personal information involved all comply with the relevant laws and regulations, take necessary confidentiality measures, a...

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 case automatic generation method and device, electronic equipment, a medium and a computer program product. The method and device can be applied to the technical field of artificial intelligence. The test case automatic generation method comprises the steps that m judgment conditions of a tested program statement are obtained, and m is an integer larger than or equal to 1; determining a test case of each judgment condition according to the m judgment conditions; according to the test cases, an effective test case group of the tested program statement is determined, and the effective test case group is a set of test cases capable of covering and testing the m judgment conditions; and calling a test case optimization model, and determining a case test value in the effective test case group.

Description

technical field [0001] The present disclosure relates to the technical field of artificial intelligence, and more particularly, to a method, apparatus, electronic device, medium and computer program product for automatic generation of test cases. Background technique [0002] In the method of ensuring software quality, software testing occupies a very important position. In the process of software development, the cost of testing software accounts for 40%-50% of the cost of developing software, and the writing of test cases in software testing is also occupy a lot of energy. Although test cases cannot eliminate software defects, good test cases can find most defects in software and make great contributions to software quality. Among them, high code line coverage and high branch coverage can be defined as good test cases. The existing test case generation methods include, according to the logic of the program, software testers manually write test cases, which cover the bran...

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/3684G06F11/3688
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