×

Adaptive regression test selection within testing environments

  • US 8,276,123 B1
  • Filed: 01/09/2009
  • Issued: 09/25/2012
  • Est. Priority Date: 07/22/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • determining, with a computing device, those functions of source code whose lines of code have changed between different versions of the software program;

    determining, with the computing device, those of the functions of the source code whose lines of code have not changed but have been impacted by the changes based on dependency data and the determined changed functions, wherein the dependency data defines dependencies between the functions of the source code;

    selecting, with the computing device, one or more test cases from a full set of test cases for each one of the changed and impacted functions in accordance with an adaptive test selection algorithm, wherein the adaptive test selection algorithm adaptively applies one or more test selection algorithms in order of decreasing safety assurances and increasing precision provided by each of the test selection algorithms until one of the test selection algorithms returns a number of test cases less than a maximum test case limit;

    aggregating, with the computing device, the one or more test cases selected for each one of the changed and impacted functions to generate a final test set that includes a subset of test cases from the full set of test cases; and

    executing, with the computing device, the final test set to ensure a given level of safety with respect to a percentage of functional errors that reside within a software program compiled from the source code, wherein the given level of safety requires the computing device to select the subset of test cases from the full set of test cases such that execution of the subset of test cases reveals at least the percentage of functional errors.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×