Recovering Multiple Tests

There are three major categories of operations that an Agent executes on a target machine:
  • Setup operations that bring the application to the state from which the next test will start.
  • Testing operations that exercise a portion of the application and verify that it executed correctly.
  • Cleanup operations that handle the normal completion of a test plus the case where the test failed and the application is left in an indeterminate state. In either case, the cleanup operations return the application to a known base state.

When there are multiple machines being tested and more than one application, the Agent on each machine must execute the correct operations to establish the appropriate state, regardless of the current state of the application.