Test method and system of test case

A technology of test cases and test methods, which is applied in the direction of software testing/debugging, etc., can solve problems such as wasting system resources, initialization data and test results are different, and achieve the effect of alleviating test pressure and saving test resources

Active Publication Date: 2012-05-23
ANYKA (GUANGZHOU) MICROELECTRONICS TECH CO LTD
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Because test cases and test codes are mixed together, for a function or function, every time a test case is added, a similar test code must be added. The logic of the test code is actually the same, and the difference from the previous test code is only The reason is that the initialization data of the test is different from the test results. If a test code is added every time the test data is changed, it will put a lot of pressure on the system's carrying capacity and waste system resources.

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 method and system of test case
  • Test method and system of test case
  • Test method and system of test case

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to enable those skilled in the art to better understand the scheme of the present application. The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0029] The flow chart of the test method of the test case provided by the embodiment of the application is as follows figure 1 shown, including:

[0030] Step S101: read the configuration file and load the test program according to the configuration file;

[0031] Step S102: call the script file, analyze the test case data and business process in the script file;

[0032] Step...

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 relates to a test method and system of a test case. The method comprises steps as folows: a scheduler reads a configuration file and loads a test program according to the configuration file; a script file is called, and test case data and an operation flow in the script file are analyzed; and a test program tests the test case data and writes the test result in a target file according to the operation flow. In the test method and system provided by the embodiment of the invention, the test data and operation flow are written in the script file which can be identified by the scheduler, the test program is called, and the test case data is acquired to perform the test according to the operation flow defined in the script, thereby effectively separating the test data, operation flow and test codes; and multiple sets of test data and multiple sets of operation flows can be configured in the script file. The test is carried out in one test code, and the test result is stored in the target file, thereby effectively relieving the test pressure of the system and saving the test resource of the system.

Description

technical field [0001] This application relates to the field of software testing, in particular to a testing method and system for testing cases. Background technique [0002] In existing software testing technologies, when developing test codes, general testers mix test cases (including test data and business processes) with test codes, and similarly, test results are also mixed with test codes. [0003] Since test cases and test codes are mixed together, for a function or function, every time a test case is added, a similar test code must be added. The logic of the test code is actually the same, and the difference from the previous test code is only The reason is that the initialization data of the test is different from the test results. If a test code is added every time the test data is changed, it will put a lot of pressure on the system's carrying capacity and waste system resources. Contents of the invention [0004] In order to solve the above technical problems...

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 ANYKA (GUANGZHOU) MICROELECTRONICS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products