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

Automatic generation and test method and device of use case, electronic equipment and readable medium

A technology for automatically generating and testing methods, applied in the computer field, can solve problems such as no mainstream software and no unified standards, and achieve the effect of avoiding uncertain influences

Pending Publication Date: 2022-03-11
JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The prerequisite for automated testing is the generation of use cases. At present, there is no unified standard in the industry for automated use case generation, and there is no mainstream software.

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 generation and test method and device of use case, electronic equipment and readable medium
  • Automatic generation and test method and device of use case, electronic equipment and readable medium
  • Automatic generation and test method and device of use case, electronic equipment and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus their repeated descriptions will be omitted.

[0028] The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that the technical solutions of the present invention can be practiced without one or more of the specific deta...

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 embodiment of the invention provides a use case automatic generation and test method and device, electronic equipment and a computer readable medium, and the method comprises the steps: obtaining a yaml file which comprises an interface name; generating structured data according to the yaml file, wherein the structured data comprises an interface name, an interface method and an interface description; generating a test case under a case block corresponding to the interface name according to the interface name and the interface description; and testing the interface corresponding to the interface name by adopting the interface method based on the test case. According to the automatic generation and test method and device of the use case, the electronic equipment and the computer readable medium provided by the embodiment of the invention, the use case set with comprehensive coverage can be efficiently and automatically generated, and the test quality is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, electronic equipment and computer-readable medium for automatically generating and testing use cases. Background technique [0002] With the increasing maturity of the modern Internet, the continuous improvement of software development techniques and tools, and the strong demand for the promotion of software engineering and software process practices, software testing has been increasingly valued and specialized. Driven by the common software development process waterfall mode and agile development mode in the industry, it is a huge challenge to the coverage and efficiency of software testing. In this case, the emergence of related automated use case generation and automated testing has greatly improved The efficiency of the testing industry, automated testing is to be able to use automated testing tools or other means to carry out automatic testi...

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 JD DIGITS HAIYI INFORMATION TECHNOLOGY 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