Testing in-container software objects
AssigneeInteractive TKO, Inc.
InventorHenry M. Killmar, III
Life of this patent
Estimating the term…
Abstract
Various techniques for testing in-container software objects are disclosed. For example, one method involves invoking a proxy method of a proxy object within a testing process. In response to the proxy method of the proxy object being invoked, a request is sent to a container, which is separate from the testing process. The request includes a request to invoke a method of an object within the container. The proxy object represents the object within the container. The proxy object can be used to test the corresponding object, which is represented by the proxy object, within the container.
Claims27
A method comprising:
- identifying a particular object class to be tested, wherein objects of the particular object class are configured to execute within a container and implement a set of methods;
- requesting a testing module within the container to instantiate a particular object of the particular object class within the container;
- instantiating, using a processor device, a proxy object of the particular object class within a testing process separate from the container;
- invoking a proxy method of the proxy object within the testing process, the proxy method corresponding to a particular one of the set of methods;
- and
- sending a request to the testing module within the container, in response to the invoking the proxy method of the proxy object, wherein
- the request comprises a request to invoke the particular method of the particular object within the container based on the invoking of the proxy method of the proxy object, and
- the proxy object represents the particular object within the container.
A method comprising:
- instantiating, using a processor device, an object within a container, in response to receiving a request to create the object from a testing process attempting to perform a test involving the object, wherein the testing process is separate from the container and the object is configured to execute within the container and implement a set of methods;
- assigning an identifier to the object;
- sending the identifier to the testing process;
- and
- receiving a request to invoke a particular one of the set of methods, wherein the request to invoke corresponds to an invocation of a proxy method of a proxy object within the testing process, the proxy object represents the object within the container, and the proxy method corresponds to the particular method.
A non-transitory computer readable storage medium comprising program instructions executable to:
- identify a particular object class to be tested, wherein objects of the particular object class are configured to execute within a container and implement a set of methods;
- request a testing module within the container to instantiate a particular object of the particular object class within the container;
- instantiate a proxy object of the particular object class within a testing process separate from the container;
- invoke a proxy method of the proxy object within the testing process, the proxy method corresponding to a particular one of the set of methods;
- and
- send a request to the testing module within the container, in response to the invoking the proxy method of the proxy object, wherein
- the request comprises a request to invoke the particular method of the particular object within the container based on the invoking of the proxy method of the proxy object, and
- the proxy object represents the particular object within the container.
A non-transitory computer readable storage medium comprising program instructions executable to:
- instantiate an object within a container, in response to receiving a request to create the object from a testing process attempting to perform a test involving the object, wherein the testing process is separate from the container and the object is configured to execute within the container and implement a set of methods;
- assign an identifier to the object;
- send the identifier to the testing process;
- and
- receive a request to invoke a particular one of the set of methods of the object within the container, wherein the request to invoke corresponds to an invocation of a proxy method of a proxy object within the testing process, the proxy object represents the object within the container, and the proxy method corresponds to the particular method.
A system comprising:
- a processor;
- a memory element;
- a testing process configured, when executed by the processor, to:
- identify a particular object class to be tested, wherein objects of the particular object class are configured to execute within a container and implement a set of methods;
- request a testing module within the container to instantiate a particular object of the particular object class within the container;
- instantiate a proxy object of the particular object class within a testing process separate from the container;
- invoke a proxy method of the proxy object within the testing process, the proxy method corresponding to a particular one of the set of methods;
- and
- send a request to the testing module within the container, in response to the invoking the proxy method of the proxy object, wherein
- the request comprises a request to invoke the particular method of the particular object within the container based on the invoking of the proxy method of the proxy object, and
- the proxy object represents the particular object within the container.
A system comprising:
- a processor;
- a memory element;
- a container, wherein the object is within the container, the container configured, when executed by the processor, to:
- instantiate an object within a container, in response to receiving a request to create the object from a testing process attempting to perform a test involving the object, wherein the testing process is separate from the container and the object is configured to execute within the container and implement a set of methods;
- assign an identifier to the object;
- send the identifier to the testing process;
- and
- receive a request to invoke a particular one of the set of methods of the object within the container, wherein the request to invoke corresponds to an invocation of a proxy method of a proxy object within the testing process, the proxy object represents the object within the container, and the proxy method corresponds to the particular method.
Dependencies are inferred from the claim text.