GENERATION OF TEST CASES FOR FUNCTIONAL TESTING OF APPLICATIONS
First Claim
1. A computer implemented method for generating a testing procedure for an implementation of a function, comprising:
- obtaining a model of an application including at least a description of input, output, and one or more state transitions of a function in the application;
deriving one or more input conditions and one or more state conditions as one or more testing objective;
deriving from the model a sequence of one or more actions to set up said one or more state conditions;
deriving from the model one or more expected outputs associated with an implementation of the function under said one or more state conditions; and
deriving from the model an expected end state, and a second sequence of one or more actions and one or more expected outputs of the second sequence of one or more actions to verify the end state.
1 Assignment
0 Petitions
Accused Products
Abstract
An automated system and method to generate functional conformance tests for applications are provided. The system and method in one aspect use Inputs, Outputs, Preconditions, Effects (IOPEs) paradigm associated with an application for automatically generating test goals. A planner component may accept these testing goals to generate a sequence of operations or invocations as a test case. Verification sequences are also generated. The system and method also allow generation of executable test cases, which can be applied to the various interfaces through which the application may be accessed.
42 Citations
20 Claims
-
1. A computer implemented method for generating a testing procedure for an implementation of a function, comprising:
-
obtaining a model of an application including at least a description of input, output, and one or more state transitions of a function in the application; deriving one or more input conditions and one or more state conditions as one or more testing objective; deriving from the model a sequence of one or more actions to set up said one or more state conditions; deriving from the model one or more expected outputs associated with an implementation of the function under said one or more state conditions; and deriving from the model an expected end state, and a second sequence of one or more actions and one or more expected outputs of the second sequence of one or more actions to verify the end state. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer implemented method for generating a testing procedure for an implementation of a function, comprising:
-
obtaining a model of an application, the model including at least one or more objects, one or more inputs and outputs associated with said one or more objects, one or more preconditions, and one or more effects associated with the application; generating a testing goal from the model, the testing goal including at least a state condition and a testing function; generating a sequence of one or more actions based on the testing goal; generating one or more expected output and a system end state associated with applying the sequence of one or more actions; and generating a sequence of one or more verification actions based on said one or more expected output and the system end state. - View Dependent Claims (14, 15, 16)
-
-
17. A system for generating a testing procedure for an implementation of a function, comprising:
-
an application model including at least one or more objects, one or more inputs and outputs associated with said one or more objects, one or more preconditions of a system employing the application, and one or more effects on the system applying said one or more objects; a goal generator module operable to execute on a processor, the goal generator module further operable to automatically generate one or more testing goals using the application model; a planner module operable to execute on a processor to generate a sequence of one or more actions based on said one or more testing goals; and a verification sequence generator module operable to execute on a processor to generate a sequence of one or more verification actions based on one or more expected outputs from the sequence of one or more actions and an expected system end state resulting from the sequence of one or more actions. - View Dependent Claims (18)
-
-
19. A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform a method of generating a testing procedure for an implementation of a function, comprising:
-
obtaining a model of an application, the model including at least one or more objects, one or more inputs and outputs associated with said one or more objects, one or more preconditions of a system employing the application, and one or more effects on the system applying said one or more objects; generating a testing goal from the model, the testing goal including at least a state condition and a testing function; generating a sequence of one or more actions based on the testing goal; generating one or more expected output and a system end state associated with applying the sequence of one or more actions; and generating a sequence of one or more verification actions based on said one or more expected output and the system end state. - View Dependent Claims (20)
-
Specification