Automated selection of quality control tests to run on a software application
US-9244818-B1 · Jan 26, 2016 · US
US2016048444A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2016048444-A1 |
| Application number | US-201514822050-A |
| Country | US |
| Kind code | A1 |
| Filing date | Aug 10, 2015 |
| Priority date | Aug 12, 2014 |
| Publication date | Feb 18, 2016 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
In a method for selecting one or more tests for a compiled software module, a processor detects that one or more changes have been made to source code for a software module. A processor compiles the source code for the software module. A processor accesses a set of tests for the software module. A processor accesses metadata for each test of the set of tests. A processor receives a first set of one or more rules describing logical conditions relative to the metadata for the tests. A processor selects at least one test from the set of tests whose metadata corresponds to the received first set of one or more rules.
Opening claim text (preview).
1 . A method of selecting one or more tests for a compiled software module, the method comprising the steps of: detecting, by one or more processors, that one or more changes have been made to source code for a software module; compiling, by one or more processors, the source code for the software module; accessing, by one or more processors, a set of tests for the software module; accessing, by one or more processors, metadata for each test of the set of tests; receiving a first set of one or more rules describing logical conditions relative to the metadata for the tests; and selecting at least one test from the set of tests whose metadata corresponds to the received first set of one or more rules. 2 . The method of claim 1 , wherein: the metadata for each test of the set of tests comprises a coverage table defining entry points within the software module impacted by the test; and at least a rule of the received first set of one or more rules describes a logical condition in respect of impacted entry points and the detected one or more changes to the source code. 3 . The method of claim 1 , wherein: the metadata for each test comprises one or more user-defined properties, not derivable from test data; and at least a rule of the received first set of one or more rules describes a logical condition in respect of a user-defined property of the one or more user-defined properties. 4 . The method of claim 1 , further comprising: receiving a second set of one or more rules describing execution context for the set of tests; and wherein, selecting the at least one test from the set of tests further comprises selecting the at least one test from the set of tests whose metadata corresponds to the received second set of one or more rules. 5 . The method of claim 1 , wherein the step of selecting the at least one test from the set of tests whose metadata corresponds to the received first set of one or more rules is performed using a rule inference engine. 6 . The method of claim 5 , wherein the rule inference engine is implemented with a RETE algorithm. 7 . A computer system for selecting one or more tests for a compiled software module, the computer system comprising: one or more computer processors, one or more computer-readable storage media, and program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising: program instructions to detect that one or more changes have been made to source code for a software module; program instructions to compile the source code for the software module; program instructions to access a set of tests for the software module; program instructions to access metadata for each test of the set of tests; program instructions to receive a first set of one or more rules describing logical conditions relative to the metadata for the tests; and program instructions to select at least one test from the set of tests whose metadata corresponds to the received first set of one or more rules. 8 . The computer system of claim 7 , wherein: the metadata for each test of the set of tests comprises a coverage table defining entry points within the software module impacted by the test; and at least a rule of the received first set of one or more rules describes a logical condition in respect of impacted entry points and the detected one or more changes to the source code. 9 . The computer system of claim 7 , wherein: the metadata for a test comprises one or more user-defined properties, not derivable from test data; and at least one a rule of the received first set of one or more rules describes a logical condition in respect of a user-defined property of the one or more user-defined properties. 10 . The computer system of claim 7 , further comprising: program instructions, stored on the one or more computer readable storage media for execution by at least one of the one or more processors, to receive a second set of one or more rules describing execution context for the set of tests; and wherein program instructions to select the at least one test from the set of tests further comprises program instructions to select the at least one test from the set of tests whose metadata corresponds to the received second set of one or more rules. 11 . The computer system of claim 7 , wherein the program instructions to select the at least one test from the set of tests whose metadata corresponds to the received first set of one or more rules are performed using a rule inference engine. 12 . The computer system of claim 11 , wherein the rule inference engine is implemented with a RETE algorithm. 13 . A computer program product for selecting one or more tests for a compiled software module, the computer program product comprising: one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising: program instructions to detect that one or more changes have been made to source code for a software module; program instructions to compile the source code for the software module; program instructions to access a set of tests for the software module; program instructions to access metadata for each test of the set of tests; program instructions to receive a first set of one or more rules describing logical conditions relative to the metadata for the tests; and program instructions to select at least one test from the set of tests whose metadata corresponds to the received first set of one or more rules. 14 . The computer program product of claim 13 , wherein: the metadata for each test of the set of tests comprises a coverage table defining entry points within the software module impacted by the test; and at least a rule of the received first set of one or more rules describes a logical condition in respect of impacted entry points and the detected one or more changes to the source code. 15 . The computer program product of claim 13 , wherein: the metadata for each test comprises one or more user-defined properties, not derivable from test data; and at least a rule of the received first set of one or more rules describes a logical condition in respect of a user-defined property of the one or more user-defined properties. 16 . The computer program product of claim 13 , further comprising: program instructions, stored on the one or more computer readable storage media, to receive a second set of one or more rules describing execution context for the set of tests; and wherein program instructions to select the at least one test from the set of tests further comprise program instructions to select the at least one test from the set of tests whose metadata corresponds to the received second set of one or more rules. 17 . The computer program product of claim 13 , wherein the program instructions to select the at least one test from the set of tests whose metadata corresponds to the received first set of one or more rules are performed using a rule inference engine. 18 . The computer program product of claim 17 , wherein the rule inference engine is implemented with a RETE algorithm.
Test management · CPC title
for coverage analysis · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.