Automated test runs in an integrated development environment system and method

US9965380B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9965380-B2
Application numberUS-201314044150-A
CountryUS
Kind codeB2
Filing dateOct 2, 2013
Priority dateOct 2, 2013
Publication dateMay 8, 2018
Grant dateMay 8, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method comprising: editing code, by a computing device, via an integrated development environment; determining, by the computing device, whether 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, wherein the subset of automated tests associated with the code is executed in the background during the editing of the code without executing an entire test suite of tests after the pause in receiving input for editing the code and in response to determining that the code is syntactically valid; determining whether at least one automated test error is detected; analyzing the automated tests to determine a runtime associated with each of the automated tests and to determine a portion of the code associated with each of the automated tests; determining one or more automated tests to exclude from the subset of automated tests including one or more automated tests of the subset of automated tests with a runtime running longer than a threshold amount of time and one or more automated tests not associated with the code currently being edited; and reporting the at least one automated test error, including highlighting at least a portion of the code associated with the at least one automated test error within the integrated development environment using a first visual style and highlighting at least a portion of the code associated with a syntax error using a different visual style. 2. 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. 3. The computer-implemented method of claim 1 , wherein determining one or more automated tests to exclude from the subset of automated tests includes receiving a user preference of one or more automated tests to exclude from the subset of automated tests. 4. The computer-implemented method of claim 1 , wherein each of the automated tests of the subset of automated tests is capable of running independently. 5. The computer-implemented method of claim 1 , wherein the subset of automated tests is executed after every other pause in receiving input for editing the code. 6. 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, by the processor, whether the code is syntactically valid in response to the processor 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, wherein the subset of automated tests associated with the code is executed in the background during the editing of the code without executing an entire test suite of tests after the pause in receiving input for editing the code and in response to determining that the code is syntactically valid; determining whether at least one automated test error is detected; analyzing the automated tests to determine a runtime associated with each of the automated tests and to determine a portion of the code associated with each of the automated tests; determining one or more automated tests to exclude from the subset of automated tests including one or more automated tests of the subset of automated tests with a runtime running longer than a threshold amount of time and one or more automated tests not associated with the code currently being edited; and reporting the at least one automated test error, including highlighting at least a portion of the code associated with the at least one automated test error within the integrated development environment using a first visual style and highlighting at least a portion of the code associated with a syntax error using a different visual style. 7. The computer program product of claim 6 , 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. 8. The computer program product of claim 6 , wherein determining one or more automated tests to exclude from the subset of automated tests includes receiving a user preference of one or more automated tests to exclude from the subset of automated tests. 9. The computer program product of claim 6 , wherein each of the automated tests of the subset of automated tests is capable of running independently. 10. The computer program product of claim 6 , wherein the subset of automated tests is executed after every other pause in receiving input for editing the code. 11. A computing system including a processor and a memory configured to perform operations comprising: editing code via an integrated development environment; determining, by the computing system, whether the code is syntactically valid in response to the computing system 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, wherein the subset of automated tests associated with the code is executed in the background during the editing of the code without executing an entire test suite of tests after the pause in receiving input for editing the code and in response to determining that the code is syntactically valid; determining whether at least one automated test error is detected; analyzing the automated tests to determine a runtime associated with each of the automated tests and to determine a portion of the code associated with each of the automated tests; determining one or more automated tests to exclude from the subset of automated tests including one or more automated tests of the subset of automated tests running longer than a threshold amount of time and one or more automated tests not associated with the code currently being edited; and reporting the at least one automated test error, including highlighting at least a portion of the code associated with the at least one automated test error within the integrated development environment using a first visual style and highlighting at least a portion of the code associated with a syntax error using a different visual style. 12. The computing system of claim 11 , wherein determining one or more automated tests to exclude from the subset of automated tests includes receiving a user preference of one or more automated tests to exclude from the subset of automated tests. 13. The computing system of claim 11 , wherein each of the automated tests of the subset of automated tests is capable of running independently. 14. The computing system of claim 11 , wherein the subset of automated tests is executed after every other pause in receiving input for editing the code.

Assignees

Inventors

Classifications

  • for test execution, e.g. scheduling of test suites · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9965380B2 cover?
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 …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/3688. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 08 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).