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

Test case generating method and device

A test case generation and test case technology, applied in the field of optical communication, can solve the problems of slow test case development, unable to meet the new product development cycle and upgrade speed requirements, etc., to reduce development time, reduce cost investment, and simplify development. effect of the process

Inactive Publication Date: 2011-03-23
ZTE CORP
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0017] The embodiment of the present invention provides a test case generation method and device, which solves the problem of slow development speed of new product test cases in the prior art, and cannot meet the needs of new product development cycle and upgrade speed

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Aiming at the problem that the existing test cases cannot be used after the development of new products or product upgrades in the existing technology, and the development of new test cases is time-consuming, how to quickly develop new products on the basis of existing test cases / Test cases for upgrading products have become an urgent problem to be solved. The embodiment of the present invention provides a test case generation method, which decomposes the existing test case according to the function, obtains several test case modules, and stores them in the general use case library; when a test case needs to be generated, directly call each test case module, Synthesize new test cases.

[0049]Therefore, it is necessary to sort out the existing test cases of a certain type of product and establish a general use case library for this type of product. Specifically: decompose an existing product of a certain category according to its functions, and divide the functions of...

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 generating method and a test case generating device. The method comprises: writing the configuration file of a product to be tested, wherein the configuration file comprises the attribute information and function description information of the product to be tested; analyzing the configuration file, and acquiring test case modules corresponding to all functions from a general case library according to the analyzed function description information, wherein the general case library stores test case modules corresponding to functions on all levels of products of the same kind, which are obtained after the functional decomposition of the test cases of conventional products of the same kind as the product to be tested; synthesizing test cases by using the acquired test case modules according to the hierarchy of the corresponding functions; and changing the configuration fields of the synthesized cases according to the analyzed attribute information and generating test cases of the product to be tested. The method can quickly and conveniently generate new product test cases by fully using the test cases of the conventional products, thereby simplifying a development process and reducing cost investment.

Description

technical field [0001] The invention relates to the field of optical communication, in particular to a method and device for dynamically generating test cases for transmission product testing. Background technique [0002] Software testing plays a pivotal role in software development, especially in the development process of high-end products. The quality of software testing directly affects the stability and security of products. Testing experts have worked hard on how to conduct software testing and what kind of testing to make the software meet the needs of customers. They have refined software testing into all aspects of software development, and developed various testing tools to make the testing The range of technology and testing has been greatly improved. Software testing generally needs to include several processes such as preliminary test requirement analysis, design of test plan, writing of test cases and execution of tests. [0003] At present, the following m...

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
IPC IPC(8): G06F11/36G06F9/44
Inventor 杨忠学
Owner ZTE CORP
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