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
In Solution Explorer, open a test project that contains your generic test.
Under Additional files to deploy with this generic test, specify any files that the test must have to run correctly.
Poznámka
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.
Save the generic test.
See Also
Tasks
How to: Configure Test Deployment
Walkthrough: Creating and Running a Generic Test