# US 2013/0085741 A1 · Test Planning Based on Dynamic Coverage Analysis

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0085741 A1
- Document ID: US20130085741A1
- Status: Published application
- Kind: A1
- Application number: 13/252,219
- Filed: 2011-10-04
- Published: 2013-04-04
- Earliest claimed: 2011-10-04
- Assignees: International Business Machines Corporation
- Inventors: Itai Segall; Rachel Tzoref-Brill
- Web page: https://patentgrep.com/patent/US20130085741A1

## CPC

- G06F 11/3676: {for coverage analysis}
- G06F 11/263: Generation of test inputs, e.g. test vectors, patterns or sequences {; with adaptation of the tested hardware for testability with external testers}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for refining a test plan is provided. The method comprises defining a coverage model including: one or more variables, wherein respective values for the variables are assigned, and one or more definitions for value combinations for said variables with assigned values, wherein zero or more of said value combinations are defined according to one or more restrictions for the purpose of generating a test plan to test a system for which the coverage model is constructed; determining zero or more uncovered value combinations in the test plan; and providing means to update the test plan.

## Claims

### Claim 1

A method executable on one or more processors for refining a test plan, the method comprising:
defining a coverage model including:
one or more variables, wherein respective values for the variables are assigned, and
one or more definitions for value combinations for said variables with assigned values, wherein said value combinations are based on at least one designated interaction level between two or more of the variable values,
wherein zero or more of said value combinations are defined according to one or more restrictions for the purpose of generating a test plan to test a system for which the coverage model is constructed;
determining zero or more uncovered value combinations in the test plan; and
providing means to update the test plan to achieve a test objective in relation to the uncovered value combinations.

### Claim 2 (depends on 1)

The method of claim 1 wherein the test plan is updated to cover at least one of said uncovered value combinations.

### Claim 3 (depends on 1)

The method of claim 1 wherein the test plan is updated to reduce number of tests in the test plan.

### Claim 4 (depends on 1)

The method of claim 1 wherein updating the test plan comprises adding tests to the test plan to cover at least one of the uncovered value combinations.

### Claim 5 (depends on 1)

The method of claim 1 wherein updating the test plan comprising removing tests from the test plan.

### Claim 6 (depends on 1)

The method of claim 1 wherein updating the test plan comprises modifying one or more tests.

### Claim 7 (depends on 1)

The method of claim 1 further comprising determining newly created uncovered value combinations, in response to the test plan being updated.

### Claim 8 (depends on 1)

The method of claim 1 wherein a user interface is provided to allow a user to select, from a list, one or more of the uncovered value combinations in the test plan such that one or more of said selected combinations is covered by addition of new tests to the test plan.

### Claim 9 (depends on 8)

The method of claim 8 wherein the user interface allows the user to assign priorities to the selected uncovered value combinations.

### Claim 10 (depends on 1)

The method of claim 1 wherein a user is provided with means to remove one or more tests from the test plan, and wherein the removal results in dynamic addition of one or more newly uncovered combinations in the test plan, wherein the newly uncovered combinations are synchronously displayed to the user, in response to determining the removal of the one or more tests.

### Claim 11 (depends on 1)

The method of claim 1 wherein a user is provided with means to select one or more tests for removal from the test plan, and wherein the selection does not result in addition of one or more newly uncovered combinations in the test plan, unless said test are removed, wherein the newly would be uncovered combinations are synchronously displayed to the user, in response to the user selecting said one or more tests.

### Claim 12 (depends on 1)

The method of claim 1 wherein a user is provided with means to modify one or more values in one or more tests in the test plan, and wherein modification results in dynamic addition of one or more newly uncovered combinations in the test plan or removal of one or more uncovered combinations in the test plan, wherein changes to a list that includes the uncovered combinations is synchronously displayed to the user, in response to determining the modifications to the one or more values.

### Claim 13 (depends on 1)

The method of claim 1 wherein a user is provided with means to modify one or more values in one or more tests in the test plan, and wherein modification of the one or more values does not results in addition of one or more newly uncovered combinations in the test plan or removal of one or more uncovered combinations in the test plan, unless said modifications are dedicated by the user, wherein changes to a list that includes the would be uncovered combinations is synchronously displayed to the user, in response to determining the modifications to the one or more values.

### Claim 14 (depends on 1)

The method of claim 1 wherein a user is provided with means to save a view that presents state of coverage for one or more value combinations, so that comparison of the saved view with another view generated at a different time provides the user with differences between the state of coverage at time when the first view was saved and state of coverage at said different time.

### Claim 15

A system comprising on one or more processors, the system further comprising:
a logic unit for defining a coverage model including:
one or more variables, wherein respective values for the variables are assigned, and
one or more definitions for value combinations for said variables with assigned values, wherein said value combinations are based on at least one designated interaction level between two or more of the variable values,
wherein zero or more of said value combinations are defined according to one or more restrictions for the purpose of generating a test plan to test a system for which the coverage model is constructed;
a logic unit for determining zero or more uncovered value combinations in the test plan; and
a logic unit for providing means to update the test plan to achieve a test objective in relation to the uncovered value combinations.

### Claim 16 (depends on 15)

The system of claim 15 wherein the test plan is updated to cover at least one of said uncovered value combinations.

### Claim 17 (depends on 15)

The system of claim 15 wherein the test plan is updated to reduce number of tests in the test plan.

### Claim 18 (depends on 15)

The system of claim 15 wherein updating the test plan comprises adding tests to the test plan to cover at least one of the uncovered value combinations.

### Claim 19 (depends on 15)

The system of claim 15 wherein updating the test plan comprising removing tests from the test plan.

### Claim 20 (depends on 15)

The system of claim 15 wherein updating the test plan comprises modifying one or more tests.

### Claim 21

A computer program product comprising program code embedded in a non-transient data storage medium, wherein execution of the program code on a computer, causes the computer to:
define a coverage model including:
one or more variables, wherein respective values for the variables are assigned, and
one or more definitions for value combinations for said variables with assigned values, wherein said value combinations are based on at least one designated interaction level between two or more of the variable values,
wherein zero or more of said value combinations are defined according to one or more restrictions for the purpose of generating a test plan to test a system for which the coverage model is constructed;
determine zero or more uncovered value combinations in the test plan; and
provide means to update the test plan to achieve a test objective in relation to the uncovered value combinations.

### Claim 22 (depends on 21)

The computer program product of claim 21 wherein the test plan is updated to cover at least one of said one or more uncovered value combinations.

### Claim 23 (depends on 21)

The computer program product of claim 21 wherein the test plan is updated to reduce number of tests in the test plan.

### Claim 24 (depends on 21)

The computer program product of claim 21 wherein updating the test plan comprises adding tests to the test plan to cover at least one of the uncovered value combinations.

### Claim 25 (depends on 21)

The computer program product of claim 21 wherein updating the test plan comprising removing tests from the test plan.
