Getting Started

Installation

The TestExecute Framework (TEF) is installed automatically by the SITK installer during the installation of TestDriver.

Quick start guide

This Quick start guide is intended to show the minimum steps necessary to create test input files, execute tests and analyse test results. Minimal or no explanation is provided for each step and you must refer to the relevant sections for more comprehensive information on any given step.

  1. Create test input files: The test input files include the test harness code, configuration information files and script file.

    • Create test harness code: This includes creating one or more test steps derived from CTestStep base class, and a test server derived from CTestServer that instantiates the test steps based on commands provided through the script file.

    • Create configuration information files: The configuration data or input values used for testing are provided using a .ini file.

    • Develop script file: A text file with a .script extension containing a series of commands used for performing test execution.

  2. Execute the test: Execute the tests by invoking testexecute.exe from eshell prompt and provide the script file path as a command line argument along with any run-time options.

  3. Analyse the test results: The results are in the form of HTML or XML log files. These log files will have the same name as that of the script file. They are placed by default under c:\logs\testexecute folder.

Using the documentation

For information on how to use TEF documentation, refer to System Integration Toolkit Guide » Introduction to the System Integration Toolkit » Using the documentation.

See also

Using TEF

Reference