Method and system for performing automated regression tests in a state-dependent data processing system
First Claim
1. A method for performing regression tests in a state-dependent data processing system where data are processed by means of at least one function having a signature of defined parameters and corresponding values, and wherein a regression test is performed using at least one pre-recorded function test case and at least one pre-determined set of test data corresponding to said signature and being used to execute said at least one pre-recorded function test case, said method comprising the step of adapting said at least one function test case and/or said at least one set of test data to any changed signatures caused by a state transition of said data processing system;
- Performing, during a first state of said data processing system, a first test stage of said regression test using said pre-recorded function test case and a first set of test data thus revealing actual test results;
Comparing said actual test results with expected test results, and if the actual test results match with the expected test results, during a second state of said data processing system, performing a second test stage of said regression test using said pre-recorded function test case and a second set of test data, wherein updating the signature used by said second set of test data and/or the at least one set of test data with regard to said state transition from said first state to said second state.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a method and system for performing regression tests in a state-dependent data processing environment where data are processed by means of at least one function having a signature of defined parameters and corresponding values. A regression test is performed using at least one pre-determined set of test data and one pre-recorded function test case corresponding to said signatures and being used to execute said at least one pre-recorded function test case. The proposed mechanism particularly comprises the step of adapting said at least one function test case or said at least one set of test data to any changed signatures caused by a state transition of said data processing system. The mechanism thus provides automated regression tests in such a data processing environment and enables re-execution of a regression test in a changed context of the underlying data processing environment.
-
Citations
5 Claims
-
1. A method for performing regression tests in a state-dependent data processing system where data are processed by means of at least one function having a signature of defined parameters and corresponding values, and wherein a regression test is performed using at least one pre-recorded function test case and at least one pre-determined set of test data corresponding to said signature and being used to execute said at least one pre-recorded function test case, said method comprising the step of adapting said at least one function test case and/or said at least one set of test data to any changed signatures caused by a state transition of said data processing system;
-
Performing, during a first state of said data processing system, a first test stage of said regression test using said pre-recorded function test case and a first set of test data thus revealing actual test results; Comparing said actual test results with expected test results, and if the actual test results match with the expected test results, during a second state of said data processing system, performing a second test stage of said regression test using said pre-recorded function test case and a second set of test data, wherein updating the signature used by said second set of test data and/or the at least one set of test data with regard to said state transition from said first state to said second state. - View Dependent Claims (2, 3, 4, 5)
-
Specification