SYSTEM TESTING USING NESTED TRANSACTIONS
First Claim
1. A computer system comprising:
- a processor;
a data store coupled to the processor;
an application component operably coupled to the processor and the data store, the application component being configured to run one or more applications stored in the data store;
a test framework coupled to the processor and the data store, the application component being configured to perform at least one test relative to a component of the computer system that interacts with a database; and
a savepoint manager configured to responsively generate at least one savepoint in the database prior to the at least one test and to roll back the at least one savepoint after the at least one test.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer system includes a processor and a data store coupled to the processor. An application component is operably coupled to the processor and the data store and is configured to run one or more applications stored in the data store. A test framework is coupled to the processor and the data store and is configured to perform at least one test relative to a component of the computer system that interacts with a database. A savepoint manager is configured to responsively generate at least one savepoint in the database prior to the at least one test and to roll back the at least one savepoint after the at least one test. Methods of testing the computer system are also provided.
8 Citations
20 Claims
-
1. A computer system comprising:
-
a processor; a data store coupled to the processor; an application component operably coupled to the processor and the data store, the application component being configured to run one or more applications stored in the data store; a test framework coupled to the processor and the data store, the application component being configured to perform at least one test relative to a component of the computer system that interacts with a database; and a savepoint manager configured to responsively generate at least one savepoint in the database prior to the at least one test and to roll back the at least one savepoint after the at least one test. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-implemented test method comprising:
-
generating at least one savepoint in a database; performing at least one system test that changes data in the database; and rolling back the at least one savepoint after performing the at least one system test. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A computer-implemented test method comprising:
-
causing a test framework to generate a first savepoint in a database using a savepoint manager; initiating a setup function in an application component; causing the test framework to generate a second savepoint in the database using the savepoint manager; initiating a setup of a first test class; performing a first test function on the first test class; and causing the test framework to roll back to the second savepoint using the savepoint manager. - View Dependent Claims (17, 18, 19, 20)
-
Specification