System and method for generating year 2000 test cases
First Claim
1. A method of generating test cases for use in testing a system for Year 2000 compliance, comprising the steps of:
- providing to a data processor one or more input test cases corresponding to the system;
identifying, according to a first set of predetermined criteria, one or more date dependent fields in each of the input test cases, using the data processor; and
selectively generating according to a second set of predetermined criteria one or more output test cases, using the data processor, wherein at least one of the date dependent fields in each of said output test cases includes a risky date from a set of risky dates.
12 Assignments
0 Petitions
Accused Products
Abstract
An innovative rule based method and system for creating test cases for the Year 2000 compliance testing of software systems is described. Using the method and system of the present invention, the user will first input information as rules relating to the business logic of the system. After obtaining the business logic, the system will transform input test cases into output test cases for the Year 2000 compliance testing. The term test cases, used in a broad sense here, refer to regression test cases written in any test automation languages, archive of test input/output data files, or snap shots of transactions captured using a recording tool. The system operates by first parsing the input files and based upon the business logic, it identifies date, time, or duration dependent variables or constants ("date dependent fields" collectively) in the input test cases. The system then substitutes risky dates, time, or duration for these fields in a manner which preserves the business logic. Risky values here refer to values that are important for the Year 2000 compliance testing--a set of values which may be user-defined. The system provides several modes of generation of output test cases depending upon the users'"'"' needs. The system can be retrofitted to deal with generation of test cases for any one time change to a software system. For example, when seven digits telephone numbers are replaced by ten digit numbers or various currencies are replaced by a single currency unit and so forth.
-
Citations
39 Claims
-
1. A method of generating test cases for use in testing a system for Year 2000 compliance, comprising the steps of:
-
providing to a data processor one or more input test cases corresponding to the system; identifying, according to a first set of predetermined criteria, one or more date dependent fields in each of the input test cases, using the data processor; and selectively generating according to a second set of predetermined criteria one or more output test cases, using the data processor, wherein at least one of the date dependent fields in each of said output test cases includes a risky date from a set of risky dates. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of generating test cases for use in testing a system for Year 2000 compliance, comprising the steps of:
-
providing to a data processor one or more input test cases corresponding to the system; identifying, according to a first set of predetermined criteria, one or more date dependent fields in each of said input test cases, using the data processor; selectively generating according to a second set of predetermined criteria one or more output test cases, using the data processor, wherein at least one of the date dependent fields in each of said output test cases includes a risky date from a set of risky dates; and determining whether the system under test is Year 2000 compliant by executing said output test cases in the system under test. - View Dependent Claims (16, 17, 18)
-
-
19. A method of generating test cases for use in testing a system for Year 2000 compliance, comprising the steps, performed by a data processor, of:
-
identifying, according to a first set of predetermined criteria, one or more date dependent fields in each of one or more input test cases corresponding to the system under test; and selectively generating, according to a second set of predetermined criteria, parameterized versions of output test cases, wherein at least one of the date dependent fields in each of said output test cases includes a risky date from a set of risky dates, and wherein said parameterized versions, said versions being more compact than the output test cases, may be used to generate the output test cases.
-
-
20. A method of generating test cases for a conversion compliance testing of a system under test, comprising the steps of:
-
providing to a data processor one or more input test cases corresponding to the system under test; identifying, according to a first set of predetermined criteria, one or more conversion dependent fields in each of the input test cases, using the data processor; and selectively generating, according to a second set of predetermined criteria, one or more output test cases, using the data processor, wherein at least one of the conversion dependent fields in each said output test case includes a risky conversion value from a set of risky conversion values. - View Dependent Claims (21, 22, 23)
-
-
24. A system for generating test cases for testing a system for Year 2000 compliance, comprising:
-
an interface for receiving one or more input test cases corresponding to the system under test; a parser for identifying according to a first set of predetermined criteria one or more date dependent fields in each of the input test cases; and a generation component configured to selectively generate according to a second set of predetermined criteria one or more output test cases, wherein at least one of the date dependent fields in each said output test case includes a risky date from a set of risky dates. - View Dependent Claims (25, 26, 27, 28)
-
-
29. A system for generating test cases for testing a system for Year 2000 compliance, comprising:
-
an interface for receiving one or more input test cases; a parser for identifying, according to a first set of predetermined criteria, one or more date dependent fields in each of said one or more input test cases; a generation component configured to selectively generate, according to a second set of predetermined criteria, one or more output test cases, wherein at least one of the date dependent fields in each said output test case contains a risky date from a set of risky dates; and a testing component configured to determine whether the system under test is Year 2000 compliant. - View Dependent Claims (30)
-
-
31. A system for generating test cases for Year 2000 compliance testing a system for, comprising:
-
a parser for identifying, according to a first set of predetermined criteria, one or more date dependent fields in each of one or more input test cases; and a generation component configured to selectively generate, according to a second set of predetermined criteria, parameterized versions of output test cases, wherein at least one of the date dependent fields in each said parameterized version of output test case includes a risky date from a set of risky dates, and wherein said parameterized versions, said versions being more compact than the output test cases, may be used to generate the output test cases.
-
-
32. A computer-readable medium capable of configuring a data processor to generate test cases for testing a system for Year 2000 compliance, the medium comprising program code to cause the data processor to perform the steps of:
-
identifying, according to a first set of predetermined criteria, one or more date dependent fields in each of one or more input test cases corresponding to the system under test; and selectively generating, according to a second set of predetermined criteria, one or more output test cases, wherein at least one of the date dependent fields in each said output test case includes a risky date from a set of risky dates. - View Dependent Claims (33, 34, 35, 36)
-
-
37. A computer-readable medium capable of configuring a data processor to generate test cases for testing a system for Year 2000 compliance, the medium comprising program code to cause the data processor to perform the steps of:
-
providing to said data processor one or more input test cases; identifying, according to a first set of predetermined criteria, one or more date dependent fields in each of said input test cases; selectively generating, according to a second set of predetermined criteria, one or more output test cases, wherein at least one of the date dependent fields in each said output test case contains a risky date from a set of risky dates; and determining whether the system under test is Year 2000 compliant. - View Dependent Claims (38)
-
-
39. A computer-readable medium capable of configuring a data processor to generate test cases for testing a system for Year 2000 compliance, the medium comprising program code to cause the data processor to perform the steps of:
-
identifying according to a first set of predetermined criteria one or more date dependent fields in each of the input test cases; and selectively generating, according to a second set of predetermined criteria, parameterized versions of output test cases in one or more sets of parameterized versions of one or more output test cases, wherein each set of parameterized versions of output test cases corresponds to one of the input test cases, wherein at least one of the date dependent fields in each said output test case includes a risky date from a set of risky dates, and wherein said parameterized versions, said versions being more compact than the output test cases, may be used to generate the output test cases.
-
Specification