Test self-verification with integrated transparent self-diagnose
First Claim
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.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
19 Citations
20 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product for test case self-validating comprising:
-
a test case management and validation (TCMV) system embodied on a computer readable storage medium, the TCMV including program instructions executable by a processor, the program instructions comprising; program instructions to instrument, 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;program instructions to register, 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;program instructions to compile, by the probe builder, the instrumented source code modules into one or more binary executable modules; program instructions to create, by a test case generator, a test case wherein the test case includes at least one test probe; and program instructions to validate, by a test case validator, the test case. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer system for test case self-validating comprising:
-
one or more processors, one or more computer-readable storage devices, and a plurality of program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors, the plurality of program instructions comprising; program instructions to instrument, 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;program instructions to register, 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;program instructions to compile, by the probe builder, the instrumented source code modules into one or more binary executable modules; program instructions to create, by a test case generator, a test case wherein the test case includes at least one registered test probe; and program instructions to validate, by a test case validator, the test case. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification