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

Test case generation method and device

A test case generation and test case template technology, applied in the computer field, can solve the problems of manual test case unfavorable software test function point logic combing, incomplete test cases, low timeliness of manual test case writing, etc.

Pending Publication Date: 2020-06-12
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When writing test cases manually, a scene that should be tested is often missed due to lack of concentration or unclear logical thinking, resulting in incomplete test cases;
[0006] (2) The writing time of manually writing test cases is low;
[0007] (3) Manually writing test cases is not conducive to the logical sorting out of software test function points

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
  • Test case generation method and device
  • Test case generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0068] According to an aspect of the embodiments of the present invention, a test case generation method is provided.

[0069] figure 1 is a schematic diagram of the main flow of the test case generation method according to the embodiment of the present invention. Such as figure 1 As shown, the test case generation method according to the embodiment of the present inven...

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 relates to the technical field of computers. A specific embodiment of the method comprises the steps of determining N input conditions, an expected result and a logic gate between the N input conditions and the expected result; permutation and combination are carried out on the N input conditions to generate M groups of combination conditions; determining an output result of each group of combination conditions based on the logic gate and the expected result; wherein M and N are positive integers; and generating a test caseby taking each group of combination conditions as test conditions and taking an output result of each group of combination conditions as a test result of the corresponding test condition. According tothe embodiment, the test case can be automatically generated according to the causal relationship between the input condition and the expected result, the writing timeliness is high, the coverage iscomprehensive, and the logic of software product function points can be sorted clearly.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a test case generation method and device. Background technique [0002] Software testing is an important method and means to ensure the quality of software products. In the final stage of the software life cycle, the quality of system testing directly affects the customer experience of software products. System testing is performed according to the test cases of system testing, that is, functional test cases. Writing comprehensive and complete test cases with all factors in mind plays a vital role in software products. [0003] Usually, test cases are written manually into common text editors such as word and excel, or manually written and entered into common use case management systems one by one, using software testing methods and theories to write the normal functions and exception handling of software products Wait for as comprehensive a test case as possible. [0004] In...

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 BEIJING JINGDONG SHANGKE INFORMATION 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