# US 10,120,789 B2 · Automated test runs in an integrated development environment system and method

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

- Number: US 10,120,789 B2
- Document ID: US10120789B2
- Status: Granted
- Kind: B2
- Application number: 15/886,283
- Filed: 2018-02-01
- Published: 2018-06-07
- Granted: 2018-11-06
- Earliest claimed: 2013-10-02
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Matthew G. Marum; Samuel G. Padgett; Steven K. Speicher; Michael J. Tabb
- Web page: https://patentgrep.com/patent/US10120789B2

## CPC

- 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

A method, computer program product, and computer system for editing code, by a computing device, via an integrated development environment. The code is determined to be syntactically valid. While editing the code, a subset of automated tests associated with the code is executed in response to determining that the code is syntactically valid. It is determined whether at least one automated test error is detected. The at least one automated test error is reported.

## Claims

### Claim 1

A computer-implemented method comprising:
editing code, by a computing device, via an integrated development environment;
determining that the code is syntactically valid in response to the computing device determining a pause in receiving input for editing the code via the integrated development environment;
executing, while editing the code, a subset of automated tests associated with the code in response to determining that the code is syntactically valid, wherein the subset of automated tests associated with the code is executed in the background during the editing of the code without saving and running a build and without executing an entire test suite of tests after the pause in receiving input for editing the code;
determining whether at least one automated test error is detected; and
reporting the at least one automated test error.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein determining that the code is syntactically valid includes determining a pause in receiving input via the integrated development environment.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein executing the subset of automated tests includes determining which automated tests to exclude from the subset of automated tests.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the subset of automated tests excludes automated tests running longer than a threshold amount of time.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, wherein the subset of automated tests excludes any automated tests not associated with the edited code.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein reporting the at least one automated test error within the integrated development environment includes highlighting at least a portion of the code associated with the at least one automated test error within the integrated development environment.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein reporting the at least one automated test error within the integrated development environment includes displaying at least a portion of the code associated with the at least one automated test error within the integrated development environment.

### Claim 8

A computer program product residing on a non-transitory computer readable storage medium having a plurality of instructions stored thereon which, when executed by a processor, cause the processor to perform operations comprising:
editing code via an integrated development environment;
determining that the code is syntactically valid in response to the computing device determining a pause in receiving input for editing the code via the integrated development environment;
executing, while editing the code, a subset of automated tests associated with the code in response to determining that the code is syntactically valid, wherein the subset of automated tests associated with the code is executed in the background during the editing of the code without saving and running a build and without executing an entire test suite of tests after the pause in receiving input for editing the code;
determining whether at least one automated test error is detected; and
reporting the at least one automated test error.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein determining that the code is syntactically valid includes determining a pause in receiving input via the integrated development environment.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein executing the subset of automated tests includes determining which automated tests to exclude from the subset of automated tests.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the subset of automated tests excludes automated tests running longer than a threshold amount of time.

### Claim 12 (depends on 10)

The computer program product of claim 10, wherein the subset of automated tests excludes any automated tests not associated with the edited code.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein reporting the at least one automated test error within the integrated development environment includes highlighting at least a portion of the code associated with the at least one automated test error within the integrated development environment.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein reporting the at least one automated test error within the integrated development environment includes displaying at least a portion of the code associated with the at least one automated test error within the integrated development environment.

### Claim 15

A computing system including a processor and a memory configured to perform operations comprising:
editing code via an integrated development environment;
determining that the code is syntactically valid in response to the computing device determining a pause in receiving input for editing the code via the integrated development environment;
executing, while editing the code, a subset of automated tests associated with the code in response to determining that the code is syntactically valid, wherein the subset of automated tests associated with the code is executed in the background during the editing of the code without saving and running a build and without executing an entire test suite of tests after the pause in receiving input for editing the code;
determining whether at least one automated test error is detected; and
reporting the at least one automated test error.

### Claim 16 (depends on 15)

The computing system of claim 15, wherein determining that the code is syntactically valid includes determining a pause in receiving input via the integrated development environment.

### Claim 17 (depends on 15)

The computing system of claim 15, wherein executing the subset of automated tests includes determining which automated tests to exclude from the subset of automated tests.

### Claim 18 (depends on 17)

The computing system of claim 17, wherein the subset of automated tests excludes automated tests running longer than a threshold amount of time.

### Claim 19 (depends on 17)

The computing system of claim 17, wherein the subset of automated tests excludes any automated tests not associated with the edited code.

### Claim 20 (depends on 15)

The computing system of claim 15, wherein reporting the at least one automated test error within the integrated development environment includes highlighting at least a portion of the code associated with the at least one automated test error within the integrated development environment.
