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

Method for generating test cases in batch mode

A technology for generating test cases and test cases, applied in software testing/debugging and other directions, to achieve the effect of improving operational convenience, improving test coverage, and improving work efficiency

Inactive Publication Date: 2015-01-07
CHINA TECHENERGY +1
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In order to overcome the technical shortcomings of using test tools to generate test case designs in batches, the present invention provides batch processing means to replace manual one-by-one creation, so that the test case design work can be completed in a short time, and the test coverage rate is improved; the operation convenience is improved, and the test The personnel focus on the test input, only need to edit the parameter file instead of setting it on the interface, and can combine the keywords provided by the test tool to generate a test case file that can be imported by the test tool, which greatly improves work efficiency and saves At the same time, when designing a test case, the parameter file storing the test data is separated from the format file containing multiple keywords defined by the test tool, so that the test data can be edited more quickly and conveniently, and the edited test data can be passed Applying different format files can generate test cases suitable for different test tools

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 for generating test cases in batch mode
  • Method for generating test cases in batch mode
  • Method for generating test cases in batch mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The implementation of the batch test case import test tool provided by the present invention is based on the analysis of the test input data CSV file and the Testbed test template TCT file, which can generate test cases for the Testbed in batches, and test personnel from creating a large number of use cases one by one and filling in parameters It is freed to focus on the core of the test case—the design input of the test data. On the basis of the Testbed test tool, the degree of test automation is further strengthened, the test efficiency is improved, and the software development cycle is shortened. The specific methods are as follows: figure 1 As shown, it includes 4 parts, namely: parameter file analysis, format file analysis, intermediate information output, and test case file generation. The following takes the Testbed tool as an example to introduce the specific implementation method of batch test cases.

[0048] 1. The parameter file is used to store several sets ...

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 provides a method for generating test cases in a batch mode. The method comprises the steps that a parameter file which is only used for storing test data is analyzed, a group of keywords defined by a test tool based on one test case are applied mechanically to constitute a file capable of storing a batch of test cases, the file for the test cases can be led in the test tool and is carried out. When the method for generating the test cases in the batch mode is used, under the conditions that parameter combinations of a tested function are multiple and the data size is big, the labor cost can be obvious saved, and meanwhile omission occurring in the process of the test cases are established one by one manually can be avoided.

Description

technical field [0001] The invention belongs to the technical field of software test automation, and in particular relates to a technique for generating test cases in batches. Background technique [0002] Unit testing refers to the inspection and verification of the smallest testable unit in the software. It is the lowest level of testing activities to be carried out in the software development process. Unit testing of software products is carried out as early as possible in the software life cycle. , can greatly increase the post-test and maintenance costs. It can be said that adequate unit testing is the only way to improve software quality and reduce development costs. [0003] In addition to testing its functionality, unit testing also needs to ensure that the code is structurally reliable, sound, and capable of responding well. Therefore, it is not enough to perform static testing. It is necessary to run the unit and conduct dynamic testing to design more adequately fo...

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 CHINA TECHENERGY
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