Method and apparatus for test case generation, method and apparatus for displaying test cases

A test case generation and test case technology, applied in software testing/debugging and other directions, can solve problems such as low test efficiency, omission of test cases, affecting user experience, etc., so as to improve test work efficiency and shorten the product launch cycle.

Active Publication Date: 2022-05-20
BEIJING CHEZHIYING TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This requires manual analysis and writing of the function points of each module, division and orthogonal combination of the input conditions of use cases, which consumes a lot of time and energy for testers, and different testers have different experiences and methods, resulting in incomplete coverage and inconsistent use cases. Problems such as standardization, low writing efficiency, and difficulty in requirement analysis will lead to omission of test cases, low test efficiency, and online bugs that affect user experience

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
  • Method and apparatus for test case generation, method and apparatus for displaying test cases
  • Method and apparatus for test case generation, method and apparatus for displaying test cases
  • Method and apparatus for test case generation, method and apparatus for displaying test cases

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0027] Aiming at problems such as incomplete coverage of existing test cases, non-standard use cases, low writing efficiency, and difficulty in requirement analysis, which will lead to omission of test cases, low test efficiency, and online bugs that affect user experience, the present invention provides a The test case generation method can save testers' time, diversify test methods, and improve product requirement coverage test, s...

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 present invention discloses a method and device for generating test cases, and a method and device for displaying test cases. The method for generating test cases includes: obtaining local demand documents, extracting keywords, conditions of keywords, and expected results, and respectively inserting use case events table; locate the module function function method in the code document, obtain the function method name and function parameters, and put them into the use case table of the code document respectively; extract the condition of the keyword from the use case event table, and determine greater than, less than, or equal to the keyword Random conditions within the interval of conditions; For the assignment of each group of function parameters, the random conditions of keywords are orthogonally sorted to obtain an array of orthogonal table objects; filter out the array of orthogonal table objects that match the expected results of the use case The test cases form a set of test cases. According to the technical scheme of the present invention, test cases can be automatically generated, which helps to improve test work efficiency and shorten the product launch period.

Description

technical field [0001] The invention relates to the technical field of use case testing, in particular to a method and device for generating test cases, a method and device for displaying test cases, a computing device and a readable storage medium. Background technique [0002] Test cases are an important part of software testing. For each product requirement, a large number of test cases need to be designed and written, and tests are performed based on this standard to ensure the quality of product launch. [0003] Testers need to write test cases based on product requirements documents to execute tests. There are generally two directions for writing use cases. The first is to write use cases based on required function points, and the second is to write use cases based on business process divergent thinking. Mainly analyze the product requirements document, list the function points, construct the flow chart, use the methods of writing test cases according to the function p...

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
Inventor 关记红牛红梅
Owner BEIJING CHEZHIYING 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