Getting Started

Installation

When you install the Windows Driver Kit, the TAEF files are placed in the Testing\Runtimes\TAEF subdirectory of the WDK. When you set up a test computer for deployment, following the instructions to Provision a computer for driver deployment and testing (WDK 8.1) or Provision a computer for driver deployment and testing (WDK 8), the TAEF files are installed on the test computer.

You can also install the TAEF files manually, see Manually installing and uninstalling TAEF on a test computer.

Authoring Tests

TAEF does not restrict users with native or managed affinity. Users can choose the most productive language while authoring tests. TAEF supports writing tests in C/C++, C#, JScript, and VBScript.

For more information, see Authoring Tests.

Executing Tests

Executing tests is simply a case of passing a test file on the command prompt to the "TE.exe" tool. For example, run the following:

TE.exe UnitTests\Wex.Common.Tests.dll

For more information, see Executing Tests.

Manually installing and uninstalling TAEF on a test computer

Follow this procedure if you want to run tests on a computer without using the WDK and Visual Studio.

To install TAEF manually

  1. Install Visual Studio and the WDK on the computer you use for development.

  2. Copy the all the TAEF installation files from the computer where you installed the WDK to the test computer. The TAEF installation files (*.msi and *.cab files) are located in the %programfiles%\Windows Kits\8.0\Testing\Runtimes directory on your development system.

  3. On the test computer, open a Command Prompt window and navigate to the directory that contains the TAEF installation files that you just copied. Run the following command to install TAEF. Run the *.msi that matches the architecture of the test computer.

    msiexec /i "Test Authoring and Execution Framework x64-x64_en-us.msi"
    

    -Or-

    msiexec /i "Test Authoring and Execution Framework x86-x86_en-us.msi"
    

    This will install the TAEF files to \Program Files\Windows Kits\8.0\Testing\Runtimes\TAEF\ on the test system.

To uninstall TAEF manually

  1. Stop the Te.Service. Open the Microsoft Management Console (compmgmt.msc). Go to Services and Applications\Services, and locate the Te.Service. Select and hold (or right-click) the Te.Service and select Stop.
  2. Go to Control Panel\Programs\Programs and Features and uninstall the Test Authoring and Execution Framework program.