Patent ID: 9710368
Date: 2017-07-18
CPC Classifications: G06F

Claim:
1. A computer-implemented method for testing applications, comprising: obtaining information specifying one or more test operations indicating library calls and parameters to include in the library calls in order to execute an application test, the one or more test operations indicated by one or more input devices of a computing device of a user; instantiating a test harness responsible for managing the execution of the application test, the test harness isolated from a sample application such that the sample application is unable to communicate directly to the test harness; launching one or more activities by the test harness, the one or more activities being executed by the sample application and the one or more activities causing execution of at least a subset of the one or more test operations including the indicated library call; executing the library calls associated with the one or more test operations and obtaining, by the one or more activities, a result of the execution of the library calls; transmitting, over an inter-process communication, the result to the test harness, the inter-process communication including a broadcast channel provided by an operating system and a receiver registered with the operating system by the test harness to receive communications over the broadcast channel, where the broadcast channel provides access to the result stored in application memory of the test harness as a result of the receiver being registered with the operating system by the test harness; and validating the result based at least in part on the one or more test operations.