Customizing for Testing By Using the Visual Studio SDK
Using the Visual Studio SDK you can perform the following tasks using Visual Studio:
Add new custom test types if you need a different test type.
Use a host adapter to run tests in a specific environment. For sample code, take a look at the host adapter samples that come as part of VS SDK. Depending on your requiremnts, you might be able to use test controllers and agents or a lab environment to do that. Go here to see how to set these up.