Method for integrating automated software testing with software development
First Claim
1. In a computer application program operable on a data processing system, a method, integrated with said computer application program, for testing said computer application program comprising the steps of:
- (a) embedding at least one test operation object definition within a program structure of said computer application program;
(b) calling a function to instantiate at least one test operation object from said at least one test operation object definition, wherein said test operation object defines a function of said computer application program to be tested, and wherein said test operation objects includes an execute interface method; and
(c) calling said execute interface method defined by said test operation object to generate a test result.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer operable method for integrating and automating test procedures within a computer application program. Instantiated test operation objects of an object class defined by the present invention correspond to functions to be tested within the computer application program. The test operation objects are instantiated by calls to functions in a test operation runtime library (DLL). The test operation objects include interface method functions which execute the intended test operation and simulate any required data, file, or memory I/O. Other aspects of the methods of the present invention provide rules which permit decisions as to the applicability of each test operation given the state of the application program or the context of the test operation sequence. The various test operation objects are selected to perform a sequence of test steps. In one mode of operation, the methods of the present invention randomly select among all the instantiated test operation objects. In another mode of operation, the methods of the present invention "playback" a previously recorded sequence of test operation objects to permit reproduction of failures in previous test sequences. In a third mode of operation, the methods of the present invention permit a user to modify or create "playback" files to customize a test case for a particular focus.
219 Citations
29 Claims
-
1. In a computer application program operable on a data processing system, a method, integrated with said computer application program, for testing said computer application program comprising the steps of:
-
(a) embedding at least one test operation object definition within a program structure of said computer application program; (b) calling a function to instantiate at least one test operation object from said at least one test operation object definition, wherein said test operation object defines a function of said computer application program to be tested, and wherein said test operation objects includes an execute interface method; and (c) calling said execute interface method defined by said test operation object to generate a test result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. In a computer application program operable on a data processing system, a method for integrating a computer application program with the testing thereof comprising the steps of:
-
(a) embedding test operation object definitions in said computer application program; (b) instantiating at least one test operation object defined by operation of step (a), wherein said test operation object defines a function of said computer application program to be tested, and wherein said test operation objects includes an execute interface method; (c) calling said execute interface method included in said test operation object to generate a test result; and (d) recording said test result for pass-fail analysis of said computer application program. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A computer readable storage device, readable by a computer, embodying a program of computer instructions executable by a computer to perform the method steps for integrating testing of the program with execution of the program, the method comprising the steps of:
-
(a) embedding at least one test operation object definition within a program structure of said computer application program; (b) calling a function to instantiate at least one test operation object from said at least one test operation object definition, wherein said test operation object defines a function of said computer application program to be tested, and wherein said test operation objects includes an execute interface method; and (c) calling said execute interface method defined by said test operation object to generate a test result. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29)
-
Specification