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

Test case generation method and device and test case display method and device

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, and incomplete coverage, so as to improve test work efficiency and shorten the product launch cycle.

Active Publication Date: 2022-04-12
BEIJING CHEZHIYING TECH CO LTD
View PDF8 Cites 4 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
  • Test case generation method and device and test case display method and device
  • Test case generation method and device and test case display method and device
  • Test case generation method and device and test case display method and device

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 invention discloses a test case generation method and device and a test case display method and device, and the test case generation method comprises the steps: obtaining a local demand document, extracting a keyword, a keyword condition and an expected result, and respectively placing into a case event table; positioning a module performance function method in the code document, obtaining a function method name and a function parameter, and respectively placing the function method name and the function parameter into a code document case table; extracting conditions of keywords from the use case event table, and determining random conditions in intervals larger than, smaller than and equal to the conditions of the keywords; aiming at the assignment of each group of function parameters, carrying out orthogonal sorting on random conditions of the keywords to obtain an orthogonal table object array; and screening out the test cases matched with the case expected result and in the orthogonal table object array to form a test case set. According to the technical scheme, the test case can be automatically generated, the test work efficiency can be improved, and the product online period can be shortened.

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products