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

Test case generation method, device and system, equipment and medium

A test case generation and test case technology, applied in the computer field, can solve problems such as difficulty in meeting test requirements, missing tests, and low efficiency, and achieve the effect of improving test efficiency and test quality

Pending Publication Date: 2021-01-12
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Moreover, in some cases, configuration items also contain many nested combinations, which will make the entire configuration file very complicated. It is difficult for testers to cover all configuration combinations when writing test cases, which may easily lead to missing tests. If all configuration combinations are exhausted, then Can lead to inefficiency and difficulty in meeting testing needs

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, device and system, equipment and medium
  • Test case generation method, device and system, equipment and medium
  • Test case generation method, device and system, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0039] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above drawings are used to distinguish similar objects, and 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 ...

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 discloses a test case generation method, which comprises the steps of obtaining a configuration file of a software system, wherein configuration file comprises configuration items used for representing service logic, and matching each configuration item in the configuration file with a configuration rule table to obtain a value space corresponding to each configuration item; combining each configuration item in the configuration file to obtain a configuration item combination, traversing a value space corresponding to each configuration item in the configuration item combination,performing value combination to obtain all value combinations of the configuration item combination, calling a test case template, and generating a corresponding test case based on each value combination of the test case module and the configuration item combination. On one hand, the user operation is reduced, the test efficiency is improved, on the other hand, the coverage service scene is comprehensive, the missing test phenomenon is avoided, the test quality is ensured, and diversified test requirements can be met. The invention further discloses a corresponding device, equipment, a systemand a medium.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a test case generation method, device, equipment, test case management system and computer storage medium. Background technique [0002] In software engineering, a test case refers to a set of test inputs, execution conditions, and expected results prepared for a special purpose, in order to test a program path or verify whether a specific requirement is met. At present, test cases are mainly manually written by testers by reading code and analyzing business scenarios. [0003] For a complex system oriented to many businesses, its configuration file contains many configuration items, each configuration item contains multiple values, and different values ​​correspond to different logical branches. Moreover, in some cases, configuration items also contain many nested combinations, which will make the entire configuration file very complicated. It is difficult for teste...

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 TENCENT TECH (SHENZHEN) 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