# US 2021/0286710 A1 · System testing infrastructure for analyzing soft failures in active environment

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

- Number: US 2021/0286710 A1
- Document ID: US20210286710A1
- Status: Published application
- Kind: A1
- Application number: 16/819,320
- Filed: 2020-03-16
- Published: 2021-09-16
- Earliest claimed: 2020-03-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Andrew C. M. Hicks; RYAN THOMAS RAWLINS; Dale E. Blue
- Web page: https://patentgrep.com/patent/US20210286710A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3676: {for coverage analysis}
- 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 testing a system under test (SUT) in an active environment includes generating, by a testing system, a set of tests for testing the SUT, the tests generated based on a coverage model of the SUT, wherein the coverage model uses several attributes. The method further includes creating, by the testing system, a minimal set of tests from the generated tests by selecting tests for a disjoint set of attributes from the several attributes of the coverage model. The method further includes executing, by the testing system, the minimal set of tests on the SUT for analyzing a soft failure of the SUT in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least in part on a parameter of the active environment.

## Claims

### Claim 1

A method for testing a system under test (SUT) in an active environment, the method comprising:
generating, by a testing system, a plurality of tests for testing the SUT, the plurality of tests generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
creating, by the testing system, a minimal set of tests from the plurality of tests by selecting tests for a disjoint set of attributes from the plurality of attributes of the coverage model; and
executing, by the testing system, the minimal set of tests on the SUT for analyzing a soft failure of the SUT in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least in part on a parameter of the active environment.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the plurality of attributes has a set of possible values and wherein the coverage model defines possible combinations of values of the attributes as covered by the plurality of tests.

### Claim 3 (depends on 1)

The method of claim 1, wherein the coverage model is a functional coverage model of the SUT.

### Claim 4 (depends on 1)

The method of claim 1, wherein the plurality of tests is generated using combinatorial test design (CTD).

### Claim 5 (depends on 1)

The method of claim 1, wherein creating the minimal set of tests comprises:
identifying, by the testing system, from the plurality of tests, a pair of tests that both test a first attribute of the coverage model; and
marking, by the testing system, a first test from the pair of tests as a redundant test, and selecting, in the minimal set of tests, a second test that is not redundant.

### Claim 6 (depends on 5)

The method of claim 5, further comprising determining a restriction between the first test and the second test to determine redundancy between the pair of tests.

### Claim 7 (depends on 1)

The method of claim 1, wherein creating the minimal set of tests comprises:
identifying, by the testing system, from the plurality of tests, a pair of tests that both test a first attribute of the coverage model;
marking, by the testing system, a first test from the pair of tests as a redundant test; and
creating the minimal set of tests by removing the first test that is marked redundant.

### Claim 8

A system comprising:
a memory device; and
one or more processing units coupled with the memory device, the one or more processing units configured to perform a method comprising:
generating a plurality of tests for testing a system under test (SUT) that is being executed in an active environment, the plurality of tests is generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
creating a minimal set of tests from the plurality of tests by selecting tests for a disjoint set of attributes from the plurality of attributes of the coverage model; and
executing the minimal set of tests on the SUT for analyzing a soft failure of the SUT in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least on a parameter of the active environment.

### Claim 9 (depends on 8)

The system of claim 8, wherein each of the plurality of attributes has a set of possible values and wherein the coverage model defines possible combinations of values of the attributes as covered by the plurality of tests.

### Claim 10 (depends on 8)

The system of claim 8, wherein the coverage model is a functional coverage model of the SUT.

### Claim 11 (depends on 8)

The system of claim 8, wherein the plurality of tests is generated using combinatorial test design (CTD).

### Claim 12 (depends on 8)

The system of claim 8, wherein creating the minimal set of tests comprises:
identifying, by the testing system, from the plurality of tests, a pair of tests that both test a first attribute of the coverage model; and
marking, by the testing system, a first test from the pair of tests as a redundant test, and selecting, in the minimal set of tests, a second test that is not redundant.

### Claim 13 (depends on 12)

The system of claim 12, wherein the method further comprises determining a restriction between the first test and the second test to determine redundancy between the pair of tests.

### Claim 14 (depends on 8)

The system of claim 8, wherein creating the minimal set of tests comprises:
identifying, by the testing system, from the plurality of tests, a pair of tests that both test a first attribute of the coverage model; and
marking, by the testing system, a first test from the pair of tests as a redundant test; and
creating the minimal set of tests by removing the first test that is marked redundant.

### Claim 15

A computer program product comprising a computer-readable storage medium having computer-executable instructions stored thereupon, which when executed by a processor cause the processor to perform for testing a system under test (SUT) in an active environment, the method comprising:
generating a plurality of tests for testing the SUT, the plurality of tests is generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
creating a minimal set of tests from the plurality of tests by selecting tests for a disjoint set of attributes from the plurality of attributes of the coverage model; and
executing the minimal set of tests on the SUT for analyzing a soft failure of the SUT in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least on a parameter of the active environment.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein each of the plurality of attributes has a set of possible values and wherein the coverage model defines possible combinations of values of the attributes as covered by the plurality of tests.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the coverage model is a functional coverage model of the SUT.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the plurality of tests is generated using combinatorial test design (CTD).

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein creating the minimal set of tests comprises:
identifying, by the testing system, from the plurality of tests, a pair of tests that both test a first attribute of the coverage model; and
marking, by the testing system, a first test from the pair of tests as a redundant test, and selecting, in the minimal set of tests, a second test that is not redundant.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the method further comprises determining a restriction between the first test and the second test to determine redundancy between the pair of tests.
