# US 10,310,967 B1 · Regression testing of new software version and deployment

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

- Number: US 10,310,967 B1
- Document ID: US10310967B1
- Status: Granted
- Kind: B1
- Application number: 15/815,748
- Filed: 2017-11-17
- Published: 2019-05-23
- Granted: 2019-06-04
- Earliest claimed: 2017-11-17
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Cresyi Padilla-Ruberte
- Web page: https://patentgrep.com/patent/US10310967B1

## CPC

- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 8/60: Software deployment
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 11/368: {for test version control, e.g. updating test cases to a new software version}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments described herein are directed to computer-implemented methods, systems, and computer program products for regression testing. A non-limiting example of a computer-implemented method includes receiving, by a processing system, application data from a user processing system deploying utilizing an application during normal use of the application. The method further includes generating, by the processing system, a regression test scenario for a new version of the application to be deployed on the user processing system, wherein the regression test scenario is based at least in part on the application data received from the user processing system. The method further includes performing, by the processing system, a regression test on the new version of the application using the regression test scenario.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, by a processing system, a history log comprising application data from a user processing system utilizing an application during normal use of the application,
a customized application setting for the application, an amount of data used by the application, a processing requirement for running the application, and a current system state;
determining, by the processing system, a pattern of use for the application based on the history log;
generating, by the processing system, a regression test scenario for a new version of the application to be deployed on the user processing system,
wherein the regression test scenario is based at least in part on the pattern of use for the application data received from the user processing system; and
executing, by the processing system, a regression test on the new version of the application using the regression test scenario.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising storing, by the processing system, the regression test scenario to a test scenario data store.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising, prior to storing the regression test scenario to the test scenario data store, determining whether one or more existing regression test scenarios stored in the test scenario data store match the generated regression test scenario.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, further comprising, responsive to determining that one or more existing regression test scenarios match the generated regression test scenario, not storing the generated regression test scenario to the test scenario data store.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, further comprising, responsive to determining that the generated regression test scenario is substantial similar to but better than one or more existing regression test scenarios, storing the generated regression test scenario to the test scenario data store.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising deploying the new version of the application to the user processing system based at least in part on the regression test being successful.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising generating a failure report based at least in part on the regression test being unsuccessful.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the application data comprises a flag to indicate that the application is running in a staged-update mode.

### Claim 9

A system comprising: a memory comprising computer readable instructions; and
a processing device for executing the computer readable instructions for performing a method, the method comprising:
receiving, by the processing system, a history log comprising application data from a user processing system utilizing an application during normal use of the application,
a customized application setting for the application, an amount of data used by the application, a processing requirement for running the application, and a current system state;
determining, by the processing system, a pattern of use for the application based on the history log;
generating, by the processing system, a regression test scenario for a new version of the application to be deployed on the user processing system,
wherein the regression test scenario is based at least in part on the pattern of use for the application data received from the user processing system; and
executing, by the processing system, a regression test on the new version of the application using the regression test scenario.

### Claim 10 (depends on 9)

The system of claim 9, wherein the method further comprises storing, by the processing system, the regression test scenario to a test scenario data store.

### Claim 11 (depends on 10)

The system of claim 10, wherein the method further comprises, prior to storing the regression test scenario to the test scenario data store, determining whether one or more existing regression test scenarios stored in the test scenario data store match the generated regression test scenario.

### Claim 12 (depends on 11)

The system of claim 11, wherein the method further comprises, responsive to determining that one or more existing regression test scenarios match the generated regression test scenario, not storing the generated regression test scenario to the test scenario data store.

### Claim 13 (depends on 11)

The system of claim 11, wherein the method further comprises, responsive to determining that the generated regression test scenario is substantial similar to but better than one or more existing regression test scenarios, storing the generated regression test scenario to the test scenario data store.

### Claim 14 (depends on 9)

The system of claim 9, wherein the method further comprises deploying the new version of the application to the user processing system based at least in part on the regression test being successful.

### Claim 15 (depends on 9)

The system of claim 9, wherein the method further comprises generating a failure report based at least in part on the regression test being unsuccessful.

### Claim 16 (depends on 9)

The system of claim 9, wherein the application data comprises a flag to indicate that the application is running in a staged-update mode.

### Claim 17

A computer program product comprising:
a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processing device to cause the processing device to perform a method comprising:
receiving, by the processing system, a history log comprising application data from a user processing system utilizing an application during normal use of the application,
a customized application setting for the application, an amount of data used by the application, a processing requirement for running the application, and a current system state;
determining, by the processing system, a pattern of use for the application based on the history log;
generating, by the processing system, a regression test scenario for a new version of the application to be deployed on the user processing system,
wherein the regression test scenario is based at least in part on the pattern of use for the application data received from the user processing system; and
executing, by the processing system, a regression test on the new version of the application using the regression test scenario.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the method further comprises storing, by the processing system, the regression test scenario to a test scenario data store.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the method further comprises, prior to storing the regression test scenario to the test scenario data store, determining whether one or more existing regression test scenarios stored in the test scenario data store match the generated regression test scenario.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the method further comprises, responsive to determining that one or more existing regression test scenarios match the generated regression test scenario, not storing the generated regression test scenario to the test scenario data store.
