发明名称 |
TEST SELF-VERIFICATION WITH INTEGRATED TRANSPARENT SELF-DIAGNOSE |
摘要 |
A method, program product, and computer system is provided for test case self-validating. A probe builder, instruments one or more source code modules with a test probe. The test probe placement is based on at least one criterion including: an application program interface (API), a component, a test case name, a product release, and a product feature. The probe builder registers the test probe in a probe database. The registered test probe has record in the probe database that includes a probe identifier, a probed command, a probed file name, a line number, the test case name, and a location of an executable binary containing the test probe. The probe builder compiles the instrumented source code modules into one or more binary executable modules. The test case generator creates a test case that includes at least one registered test probe. The test case validator validates the test case. |
申请公布号 |
US2017039121(A1) |
申请公布日期 |
2017.02.09 |
申请号 |
US201514819518 |
申请日期 |
2015.08.06 |
申请人 |
International Business Machines Corporation |
发明人 |
Liu Su;Paul Priya;Su Jun;Xu Cheng |
分类号 |
G06F11/30;G06F11/34 |
主分类号 |
G06F11/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for test case self-validating comprising:
instrumenting, by a probe builder, one or more source code modules with a test probe wherein a placement for the test probe is based on at least one criterion including: an application program interface (API), a component, a test case name, a product release, and a product feature; registering, by the probe builder, the test probe in a probe database wherein the registered test probe has a corresponding record comprising: a probe identifier, a probed command, a probed file name, a line number, the test case name, and a location of an executable binary containing the test probe; compiling, by the probe builder, the instrumented source code modules into one or more binary executable modules; creating, by a test case generator, a test case wherein the test case includes at least one registered test probe; and validating, by a test case validator, the test case. |
地址 |
Armonk NY US |