×

Method and apparatus for prioritizing software tests

  • US 7,028,290 B2
  • Filed: 04/29/2002
  • Issued: 04/11/2006
  • Est. Priority Date: 04/29/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method of prioritizing software tests, the method comprising the steps of:

  • (A) prioritizing software tests for software to be tested based on coverage indicators for the software tests and an indication of impacted areas of the software, each of the coverage indicators indicating which portions of the software are executed for a respective one of the software tests; and

    (B) generating a prioritized list of the software tests, the prioritized list including at least one test sequence, wherein;

    the portions of the software include at least one of a plurality of blocks, andthe indication of impacted areas of the software indicates ones of the plurality of blocks that are modified or new with respect to a previous version of the software, wherein the step (A) comprises the steps of;

    (A1) computing a weight for each of the software tests, the weight being based on a number of the new and the modified blocks that are indicated as being executed by each respective one of the software tests;

    (A2) selecting a first test having a maximum weight among the software tests, wherein when two or more of the software tests have the same computed maximum weight, the step (A2) further comprises the steps of;

    (A2a) determining which one of the two or more of the software tests has a maximum overall coverage of the software to be tested; and

    (A2b) selecting as the first test, the one of the two or more software tests having the maximum overall coverage of the software to be tested; and

    (A3) adding the selected first test to a current test sequence.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×