Method for Signaling Runtime Events to an Automated Test Script
First Claim
1. A method of signaling runtime events to an automated test script, said method comprising:
- instrumenting a program under test (PUT) by adding code at a plurality of points of interest;
acquiring references to a runtime library in said plurality of points of interest;
modifying a test script to listen for notifications from said program under test;
modifying the launching procedure to cause said program under test to run;
sending notification from said program under test to said runtime library when one of said plurality of points of interest is executed; and
signaling runtime events using inter-process communications (IPC) to send notifications from said runtime library to said test script.
1 Assignment
0 Petitions
Accused Products
Abstract
An embodiment of the present invention relates to using a test script to test a program under test (PUT) based on instrumenting the program under test by inserting state inspection code into predefined points of interest associated with test initialization points, test start points, and test completion points. A test script is modified to listen for notifications from the instrumented program under test. When an instrumented process is being executed notification is sent to a runtime library (RTL). The runtime library then delivers the notification by way of inter-process communication (IPC) to the test script. The test script uses such notifications, in part, to determine states of the program under test and to test the program under test.
-
Citations
15 Claims
-
1. A method of signaling runtime events to an automated test script, said method comprising:
-
instrumenting a program under test (PUT) by adding code at a plurality of points of interest; acquiring references to a runtime library in said plurality of points of interest; modifying a test script to listen for notifications from said program under test; modifying the launching procedure to cause said program under test to run; sending notification from said program under test to said runtime library when one of said plurality of points of interest is executed; and signaling runtime events using inter-process communications (IPC) to send notifications from said runtime library to said test script. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
Specification