Remotely handling exceptions through STAF
First Claim
Patent Images
1. An apparatus for communicating between a child test program and a parent test program in a test environment, comprising:
- said parent test program, in communication with a processor, said parent test program to start said child test program;
a child test framework configured to catch an exception thrown by said child test program;
a marshalling component configured to in communication with said child test program and said child test framework to convert exception data for said exception into a format for transmission by a communication means to a parent test framework, wherein said communication means is configured to communicate using a standard error output stream, and wherein said communication means inserts said exception data and a delimiter into said standard error output stream and said delimiter comprises an indication that exception data relates to a child test program of a determined parent test, wherein each parent test program processes exceptions only for its own child test program; and
the parent test to identify a cause of failure in the child test program based upon said exception data.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus for communicating between a child test program and a parent test program in a test environment. A child test framework is provided to catch an exception thrown by the child test program. In addition, a marshalling component is provided in communication with the child test program and the child test framework. The marshalling component converts exception data for the exception into a format for transmission by a communication means to a parent test framework.
12 Citations
13 Claims
-
1. An apparatus for communicating between a child test program and a parent test program in a test environment, comprising:
-
said parent test program, in communication with a processor, said parent test program to start said child test program; a child test framework configured to catch an exception thrown by said child test program; a marshalling component configured to in communication with said child test program and said child test framework to convert exception data for said exception into a format for transmission by a communication means to a parent test framework, wherein said communication means is configured to communicate using a standard error output stream, and wherein said communication means inserts said exception data and a delimiter into said standard error output stream and said delimiter comprises an indication that exception data relates to a child test program of a determined parent test, wherein each parent test program processes exceptions only for its own child test program; and the parent test to identify a cause of failure in the child test program based upon said exception data. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for communicating between a child test program and a parent test program in a test environment, comprising:
-
said parent test program starting said child test program; catching, by a child test framework, an exception thrown by said child test program; converting, by a marshalling component configured to in communication with said child test program and said child test framework, exception data for said exception into a format for transmission by a communication means to a parent test framework, wherein said communication means communicates using a standard error output stream and inserts said exception data and a marker into said standard error output stream, and said marker comprises an indication that exception data relates to a child test program of a determined parent test, wherein each parent test program processes exceptions only for its own child test program; and returning exception data to the parent test for identifying a cause of failure in the child test program. - View Dependent Claims (7, 8, 9)
-
-
10. A computer program comprising computer program code to, when loaded into a computer system and executed thereon, cause said computer system to perform instructions for communicating between a child test program and a parent test program in a test environment, the instructions comprising:
-
instructions for said parent test program to start said child test program; instructions to catch, by a child test framework, an exception thrown by said child test program; instructions to convert, by a marshalling component configured to in communication with said child test program and said child test framework, exception data for said exception into a format for transmission by a communication means to a parent test framework, wherein said communication means communicates using a standard error output stream and inserts said exception data and a marker into said standard error output stream, and wherein said marker comprise an indication that exception data relates to a child test program of a determined parent test, wherein each parent test program processes exceptions only for its own child test program; and instructions to identify a cause of failure in the child test program based upon said exception data by the parent test. - View Dependent Claims (11, 12, 13)
-
Specification