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

A test case generation method, device and server

A test case generation and test case technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as prone to deviation, human subjectivity, high labor cost, etc., to ensure completeness and reduce requirements and the cost of modeling, and the effect of improving recognition accuracy

Active Publication Date: 2020-09-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the process of generating test cases in the above-mentioned prior art, human beings are required to understand the system requirements and then build a requirement model, requiring modelers to have a comprehensive understanding of the system and a high degree of abstraction ability to convert requirements into a requirement model, which has high labor costs and exists Greater human subjectivity, prone to deviation

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
  • A test case generation method, device and server
  • A test case generation method, device and server
  • A test case generation method, device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0032] It should be noted that the terms "first" and "second" in the description and claims of the present invention 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 invention described herein can be practiced in sequences other than those illustrate...

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

A test case generation method is provided. The method comprises the following steps: acquiring structured service requirement data based on standard modeling language description; wherein, the structured service requirement data comprises service step path data and global requirement data described by multiple step path types of target service as one operation round; and the structured service requirement data comprises a plurality of step path types of target service as one operation round; performing natural language processing on the service step path data to obtain a mapping relationship between the step path type of the target service and the service step path data; generating a service path directed graph based on the mapping relationship and the service step path data; determining atest case path in the service path directed graph; generating a test case of the target service base on the test case path and the global requirement data. The technical proposal provided by the invention can improve the test verification efficiency and the quality of the service requirements.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a test case generation method, device and server. Background technique [0002] Test case is a widely used concept in the field of software testing technology. It is a set of parameters composed of test input data, execution conditions and expected output results compiled to achieve test goals. By executing test cases, a test can be realized. Whether the program path meets the setting requirements. With the rapid development of the software testing industry, there are more and more demands for generating test cases. [0003] At present, the methods used to generate test cases mainly include: artificial understanding of existing system requirements; then, based on the requirements of artificial understanding, the requirements are abstracted into UML legend modeling tool scripts such as sequence diagrams and activity diagrams to build a requirement model; The requirement...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 何光华张伟杰贾国超
Owner TENCENT TECH (SHENZHEN) CO LTD