Export (0) Print
Expand All

Working with Generic Tests

You use generic tests to wrap external programs and tests that were not originally developed for use in the Team System testing tools. After you have done this, the generic test is treated by the test engine as any other test type. That is, you can work with generic tests using the Team System testing tools windows. For example, you can run generic tests from the Test View window and Test Manager window and you can obtain and publish results from generic tests as from other tests.

In This Section

Generic Tests Overview

Describes the essentials of generic tests.

How to: Create a Generic Test

Describes how to create a generic test by using the generic test template provided in the Team System testing tools and by specifying the program that you want to wrap.

How to: Gather Code-Coverage Data with Generic Tests

Describes how to instrument an assembly that is called by an application that has been wrapped into a generic test. During the test run, code-coverage data will be gathered when the generic test calls the instrumented assembly.

Walkthrough: Creating and Running a Generic Test

In this walkthrough, you create a program to wrap as a generic test. Then, you create and run the generic test. You also follow steps to pass command-line arguments and deploy files when you run the test.

Generic Test Sample

This topic lets you download a sample project to use with Walkthrough: Creating and Running a Generic Test.

Generic Tests Settings Examples

Provides links to topics that illustrate how to pass command-line arguments, use a summary-results file, and deploy files when you run a generic test.

Using Environment Variables in Generic Tests

Describes how to use environment variables to represent paths to folders that contain file including your target executable and items to deploy.

Troubleshooting Generic Tests

Describes how to circumvent a problem that appears when you gather code-coverage data while running a generic test on a 64-bit platform.

Related Sections

Working with Manual Tests

Describes how to create and run manual tests, which are the only non-automated test type.

Working with Ordered Tests

Describes how to create ordered tests, which contain other tests that are meant to be run in a specified order.

Working with Unit Tests

Provides links to topics that describe unit tests and how to create them.

Working with Load Tests

Describes the uses of load tests, how to edit and run them, how to collect and store load test performance data, and how to analyze load test runs.

Working with Web Tests

Describes how to create, edit, run, and view Web tests.

Community Additions

ADD
Show:
© 2014 Microsoft