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

Method and device for generating test case document

A technology for generating test cases and test cases, applied in the direction of software testing/debugging, etc., can solve problems such as incompleteness, deviation of test case documents, irregular format, etc., and achieve the effect of reducing workload

Inactive Publication Date: 2014-01-29
SHENZHEN TONGLI SCI & TECH DEV CO LTD
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Therefore, the test case documents generated in the prior art are only related to subjective factors such as the personal experience of the test engineer who wrote the test case document and the familiarity with the test system, but cannot objectively reflect the actual test requirements of the system to be tested itself , it is easy to cause the problem of incomplete test case documentation and irregular format due to the deviation of the test engineer's subjective understanding, and it brings a lot of workload to the test engineer

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 device for generating test case document
  • Method and device for generating test case document
  • Method and device for generating test case document

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The solution of the embodiment of the present invention is mainly: to model the system to be tested according to the functional specifications of the system to be tested, to obtain the input and output and state transition information of the system to be tested by analyzing the established event state diagram, and then according to the tester The input test start state, end state and maximum cost threshold are used to derive the test step data of the system to be tested, and finally apply the test step data to the test case template that meets the format requirements to obtain the test step data of the system to be tested Test case documentation.

[0043] Such as figure 1 As shown, a preferred embodiment of the present invention proposes a method for generating test case documents, including:

[0044] Step S101, obtaining test step data of the system to be tested according to the functional specification of the system to be tested;

[0045] Read the pre-defined functi...

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 method and a device for generating a test case document. The method comprises obtaining test step data of a system to be tested according to functional specifications of the system to be tested and generating the test case document of the system to be tested based on the test step data and a preset test case template. According to the method and the device for generating the test case document, the test step data are deduced out according to the functional specifications of the system to be tested and accordingly the test requirements of the system to be tested can be reflected by the obtained test case document comprehensively, accurately and reasonably; the format of the final test case document which is generated according to the test case template can be standardized and normalized; a test does not need to perform manual writing and accordingly the workload of the tester is greatly reduced.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a method and device for generating test case documents. Background technique [0002] At present, most of the test case documents of software systems are manually written by test engineers. Recently, automated testing tools widely used in software testing also mainly focus on recording test case documents written by test engineers, and then automatically execute the recorded test case scripts. [0003] Therefore, the test case document generated in the prior art is only related to subjective factors such as the personal experience of the test engineer who wrote the test case document and the familiarity with the test system, but cannot objectively reflect the actual test requirements of the system to be tested itself , It is easy to cause the problem of incomplete test case documentation and irregular format due to the deviation of test engineer's subjective cognition, a...

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 SHENZHEN TONGLI SCI & TECH DEV 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