×

Method and apparatus for executing unit tests in application host environment

  • US 7,954,088 B2
  • Filed: 03/23/2005
  • Issued: 05/31/2011
  • Est. Priority Date: 03/23/2005
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of testing a program operating in a first environment, the program having a plurality of units, including at least one unit under test, the method comprising:

  • operating at least one programmed processor to perform a series of acts, the series of acts being identified by executable instructions with which the at least one programmed processor is programmed, the series of acts comprising;

    a) executing a test agent in a second environment, the test agent specifying a test to be performed in the first environment to test the at least one unit under test and communicating regarding the specified test with the at least one unit under test in the first environment via a non-public interface of the at least one unit under test, wherein the first environment is an executing application program and the program is an add-in to the application program;

    b) executing, in response to executing the test agent, the specified test in the first environment, the executing of the specified test comprising accessing, by the specified test, of non-public attributes, variables or other parameters of the application program of the first environment during the executing of the specified test and further comprising generating a test result indicative of a performance characteristic of the unit under test; and

    c) providing the test result and information regarding at least some of the accessed non-public attributes of the application program of the first environment, non-public variables of the application program of the first environment or other non-public parameters of the application program of the first environment to the test agent through the execution of the specified test, wherein the providing comprises communicating to the test agent in the second environment the test result and the information via the non-public interface of the at least one unit under test.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×