Instrumentation system and method for testing software
AssigneeInteractive TKO, Inc.
InventorJohn Joseph Michelsen
Life of this patent
Estimating the term…
Abstract
One or more test controls within code under test are enabled and then executing the code under test is executed. When enabled, the test control will interact with a tester when the code under test is executed (e.g., by providing data to the tester). The selection to enable the test control can be made based on whether the system accessing the code under test is a tester. If the system is a tester, the test control is enabled. Otherwise, the test control is disabled. The test control can include an execution control, a data definition control, and/or a log control.
Claims20
A method comprising:
- receiving a first request, from a particular tester application executed on a particular computing device remote from a computer-readable medium storing particular code of a particular software program, to access particular code in connection with a test of the particular code, the particular code including a plurality of test controls embedded within the particular code, the plurality of test controls including at least one data recognition test control;
- determining that the first request was generated by a tester application;
- enabling each of the plurality of test controls in response to determining that the first request was generated by a tester application;
- executing the particular code in response to the first request, wherein executing the particular code in response to the first request includes locally executing at least a portion of the particular code and locally executing at least some test controls in the plurality of enabled test controls including the at least one data recognition test control;
- and
- sending, to the particular tester application, test result data returned through execution of the enabled test controls, wherein:
- executing the portion of the particular code causes presentation of a graphical user interface of the particular software program, the graphical user interface communicating information corresponding to data generated through the execution of the particular code,
- executing the at least one data recognition test control captures, for inclusion in the test result data, at least one particular data value in the data generated through the execution of the particular code
- and information corresponding to the particular data value is withheld from presentation in the graphical user interface.
A computing device comprising:
- a processor;
- and
- a memory storing particular executable code of a particular software program and program instructions, wherein the program instructions are executable by the processor to:
- receive a first request, from a particular tester application executed on a remote computing device, to access the particular code in connection with a test of the particular code, the particular code including a plurality of test controls embedded within the particular code, the plurality of test controls including at least one data recognition test control;
- enable each of the plurality of test controls in response to determining that the first request was generated by a tester application;
- initiate execution of the particular code in response to the first request, wherein executing the particular code in response to the first request includes locally executing at least a portion of the particular code and locally executing at least some test controls in the plurality of enabled test controls including the at least one data recognition test control;
- and
- provide, to the particular tester application, test result data returned through execution of the enabled test controls, wherein:
- executing the portion of the particular code causes presentation of a graphical user interface of the particular software program, the graphical user interface communicating information corresponding to data generated through the execution of the particular code,
- executing the at least one data recognition test control captures, for inclusion in the test result data, at least one particular data value in the data generated through the execution of the particular code
- and information corresponding to the particular data value is withheld from presentation in the graphical user interface.
A non-transitory computer readable medium comprising particular code of a particular software program and program instructions executable to:
- receive a first request, from a particular tester application executed on a remote computing device, to access the particular code in connection with a test of the particular code, the particular code including a plurality of test controls embedded within the particular code, the plurality of test controls including at least one data recognition test control;
- enable each of the plurality of test controls in response to determining that the first request was generated by a tester application;
- disable the test control within the code, if the request does not comprise the information identifying that the request was generated by the tester;
- initiate execution of the particular code in response to the first request, wherein executing the particular code in response to the first request includes locally executing at least a portion of the particular code and locally executing at least some test controls in the plurality of enabled test controls including the at least one data recognition test control;
- and
- provide, to the particular tester application, test result data returned through execution of the enabled test controls, wherein:
- executing the portion of the particular code causes presentation of a graphical user interface of the particular software program, the graphical user interface communicating information corresponding to data generated through the execution of the particular code,
- executing the at least one data recognition test control captures, for inclusion in the test result data, at least one particular data value in the data generated through the execution of the particular code,
- and information corresponding to the particular data value is withheld from presentation in the graphical user interface.
Dependencies are inferred from the claim text.