Method and apparatus for ordering test cases for regression testing
First Claim
Patent Images
1. A method of performing a regression test of ordered test cases, comprising:
- assigning a result record to each of a plurality of candidate test cases, said result record including test results from testing said each of said plurality of candidate test cases against a design model;
selecting said ordered test cases from said plurality of candidate test cases according to said test results in said result record of said each of said plurality of candidate test cases,wherein said selecting said ordered test cases comprises;
excluding noninsightful ones of said plurality of candidate test cases from said ordered test cases; and
preferentially ordering remaining ones of said plurality of candidate test cases to form ordered test cases comprises;
dividing said remaining ones of said plurality of candidate test cases into shorter execution ones and longer execution ones;
separately ordering said shorter execution ones into shorter-execution ordered test cases and said longer execution ones into longer-execution ordered test cases; and
interleaving said shorter-execution ordered test cases and said longer-execution ordered test cases to form ordered test cases;
testing said ordered test cases against a current design model; and
updating said result record of each of said ordered test cases in response to new test results from said testing.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for ordering test cases for regression testing in a regression test system. The regression testing may include executing ordered test cases identified and ordered according to preferences. Each prospective test case may be assigned a result record for retaining previous testing history of the specific test case as well as the design model tested. The test may be selected according to preferences that yield more timely discovery of design bugs. Once ordered, the ordered test cases may be tested against a current design model, which results in test results, at least a portion of which updates the corresponding result record.
-
Citations
17 Claims
-
1. A method of performing a regression test of ordered test cases, comprising:
-
assigning a result record to each of a plurality of candidate test cases, said result record including test results from testing said each of said plurality of candidate test cases against a design model; selecting said ordered test cases from said plurality of candidate test cases according to said test results in said result record of said each of said plurality of candidate test cases, wherein said selecting said ordered test cases comprises; excluding noninsightful ones of said plurality of candidate test cases from said ordered test cases; and preferentially ordering remaining ones of said plurality of candidate test cases to form ordered test cases comprises; dividing said remaining ones of said plurality of candidate test cases into shorter execution ones and longer execution ones; separately ordering said shorter execution ones into shorter-execution ordered test cases and said longer execution ones into longer-execution ordered test cases; and interleaving said shorter-execution ordered test cases and said longer-execution ordered test cases to form ordered test cases; testing said ordered test cases against a current design model; and updating said result record of each of said ordered test cases in response to new test results from said testing. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-readable medium having computer-executable instructions for performing regression test of ordered test cases, said test comprising instructions for:
-
assigning a result record to each of a plurality of candidate test cases, said result record including test results from testing said each of said plurality of candidate test cases against a design model; selecting said ordered test cases from said plurality of candidate test cases according to said test results in said result record of said each of said plurality of candidate test cases, comprises; excluding noninsightful ones of said plurality of candidate test cases from said ordered test cases; and preferentially ordering remaining ones of said plurality of test cases to form ordered test cases, wherein said preferentially ordering comprises; dividing said remaining ones of said plurality of test cases into shorter execution ones and longer execution ones; separately ordering said shorter execution ones into shorter-execution ordered test cases and said longer execution ones into longer-execution ordered test cases; and interleaving said shorter-execution ordered test cases and said longer-execution test cases to form ordered test cases; testing said ordered test cases against a current design model; and updating said result record of said ordered test cases in response to new test results from said testing. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. An ordered regression test system, comprising:
-
a test case database including a plurality of candidate test cases, each one of said plurality of candidate test cases including a result record including test results from testing said one of said plurality of test cases against a design model; a test case ordering process to select said ordered test cases from said plurality of candidate test cases according to said test results in said result record of said each of said plurality of candidate test cases comprises; excluding noninsightful ones of said plurality of candidate test cases from said ordered test cases; and preferentially ordering remaining ones of said plurality of candidate test cases to form ordered test cases comprises; dividing said remaining ones of said plurality of candidate test cases into shorter execution ones and longer execution ones; separately ordering said shorter execution ones into shorter-execution ordered test cases and said longer execution ones into longer-execution ordered test cases; and interleaving said shorter-execution ordered test cases and said longer-execution ordered test cases to form ordered test cases; a current design model to undergo regression testing; and one or more testers for testing said ordered test cases against a current design model and generating new test results to update said result record. - View Dependent Claims (16)
-
-
17. An ordered regression test system, comprising:
-
means for assigning a result record to each of a plurality of candidate test cases, said result record including test results from testing said each of said plurality of candidate test cases against a design model; means for selecting said ordered test cases from said plurality of candidate test cases according to said test results in said result record of said each of said plurality of candidate test cases, wherein said means for selecting said ordered test cases comprises; means for excluding noninsightful ones of said plurality of candidate test cases from said ordered test cases; and means for preferentially ordering remaining ones of said plurality of candidate test cases to form ordered test cases comprises; means for dividing said remaining ones of said plurality of candidate test cases into shorter execution ones and longer execution ones; means for separately ordering said shorter execution ones into shorter-execution ordered test cases and said longer execution ones into longer-execution ordered test cases; and means for interleaving said shorter-execution ordered test cases and said longer-execution ordered test cases to form ordered test cases; means for testing said ordered test cases against a current design model; and means for updating said result record of said ordered test cases in response to new test results from said testing.
-
Specification