Test case generation method and device, electronic equipment and storage medium

A technology for test cases and calling parameters, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., which can solve problems such as lack of test functions, difficulty in test cases covering core test scenarios completely, and high time cost.

Pending Publication Date: 2021-05-11
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that in the process of using the current automated testing tools, testers often need to spend a high time cost on designing and maintaining test cases, so the overall test efficiency is not high; moreover, because the original protocol interface documents are written by the testers themselves And generate test cases based on this, so the test effect of the test case largely depends on the tester's familiarity with the interface, resulting in the test case is often difficult to completely cover the core test scenarios, or even lack of test 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
  • Test case generation method and device, electronic equipment and storage medium
  • Test case generation method and device, electronic equipment and storage medium
  • Test case generation method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] 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.

[0080] 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 relates to a test case generation method and device, electronic equipment and a storage medium, and the method comprises the steps that an original log generated when target software runs is obtained, the original log is preprocessed to obtain an interface parameter pair set, and any interface parameter pair in the interface parameter pair set comprises an interface and a calling parameter of the interface; frequent pattern searching is carried out on a plurality of interface parameter pairs in the interface parameter pair set to screen out a plurality of target interface parameter pairs, and a target interface contained in any target interface parameter pair and a target calling parameter of the target interface meet a preset frequent condition; and test cases for testing the target interfaces are generated according to the target interface parameter pairs. According to the scheme, the test scene coverage of the test case can be improved, automatic generation of the test case can be realized, and the software test efficiency can be improved to a certain extent.

Description

technical field [0001] The present disclosure relates to the field of software testing, and in particular to a method, device, electronic equipment and storage medium for generating test cases. Background technique [0002] In order to realize the fast and stable iteration of the software system, it is usually necessary to test the software to be released before the software is released. Among them, interface testing is a commonly used testing method. [0003] In related technologies, automated testing tools are usually used to automatically manage and execute test cases. However, automated testing tools at this stage still require testers to write original protocol interface documents for the interface to be tested, and design and implement test cases in the source data file table accordingly. For example, testers are required to design the header and body of the test case first, then select the source data file corresponding to the test case through the configuration file...

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/3684
Inventor 邹苹钧马兴
Owner BEIJING DAJIA INTERNET INFORMATION 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