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

Method for realizing test exemple automation operation

A test case and operation process technology, applied in the field of testing, can solve the problems of inability to flexibly organize and execute, large scale of test cases, and heavy maintenance workload, so as to achieve flexible organization and test suite establishment, reduced maintenance workload, and granularity. The effect of refinement

Inactive Publication Date: 2007-06-27
STATE GRID TIANJIN ELECTRIC POWER
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, there are many problems in the application of this method, for example: the scale of each test case is large, and it cannot be organized and executed flexibly; the design and implementation of test cases requires a large amount of work, which makes the follow-up maintenance workload even greater, especially After the object under test is modified and upgraded, the modification of one of the links will cause all the test cases related to this link to be modified, and even if this link is only an intermediate link for setting the preconditions of the test cases, it needs to be modified and maintained

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 realizing test exemple automation operation
  • Method for realizing test exemple automation operation

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment N

[0041] Test case N: the initial state (precondition) is state 12, and the end state (postcondition) is 221;

[0042] Test case N+1: the start state (precondition) is state 1, and the end state (postcondition) is state 121.

[0043] The automatic execution process of the test case is as follows:

[0044] The first step is to first set the operating environment of the test platform as the initial state of the test case N, and execute the content of the test case N;

[0045] In the second step, after the test case N is executed, the state transition processing unit checks the preconditions and postconditions of the test case, takes the end state 221 of the test case N as the initial state of the transition, and sets the start state of the test case N+1 The initial state 1 is used as the end state of the transition;

[0046] In the third step, the state conversion processing unit converts the state of the object under test to state 1 according to the initial state and end state ...

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

This invention discloses a method which can realize the measuring example running automatically, firstly the state of section point is set, and the state section point can assemble into a state tree according to the execution way. Secondly, the transfer functions and process element of any two sections will be founded and stored in the real phase tree. During the realization of testing example, the start and end state are the state of the tree which separately sets to the prepositive and postposition condition. When multi testing examples are running, after one example finishes, the process element can take the finish phase of the testing example as the start of the conversion, and the start phase of the fellow example takes as the end of conversion and transfers the corresponding function to accomplish the conversion, then the next testing example is executed. This invention can realize the automatically control of testing example, and the setup is agility and does not need more maintenance.

Description

technical field [0001] The invention relates to testing technology, in particular to a method for realizing automatic operation of test cases. Background technique [0002] The basic content of a test case includes case number, name, description, precondition, test process, expected result, postcondition and other use case descriptions, among which the content related to test case execution includes precondition, test process , expected results and post-conditions, and currently only focus on the test process and expected results in the process of designing and implementing test cases, and the pre-conditions and post-conditions are usually only used as the description of the test case. In the actual automated testing process, the test cases implemented by this design are difficult to organize and execute. [0003] Since the pre-conditions and post-conditions of the test cases are not fully considered in the design and implementation process, the start state and end state of...

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/36
Inventor 韩小宾
Owner STATE GRID TIANJIN ELECTRIC POWER
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