How to: Deploy Files for Generic Tests

If either your generic test or the executable file that it wraps needs additional supporting files when it runs, you can deploy these files before the test is run.

This is shown in the "Deploy a File When You Run the Generic Test" procedure in Walkthrough: Creating and Running a Generic Test.

Procedures

To deploy files for a generic test

  1. In Solution Explorer, open a test project that contains your generic test.

  2. Under Additional files to deploy with this generic test, specify any files that the test must have to run correctly.

    Note

    Before the test runs, the files that you specify in this step are copied to a deployment directory that is created by Visual Studio. For more information, see Generic Tests Overview.

  3. Save the generic test.

See Also

Tasks

How to: Configure Test Deployment

Walkthrough: Creating and Running a Generic Test

Concepts

Generic Test Command-Line Arguments

Using a Summary Results File with a Generic Test