Reputation: 12852
I have unit tests set up to run on a build server. I just added a codedUI test which isn't running because I need to set the controller to run in interactive mode. Because we couldn't alter the existing build controller, we set up a machine with its own controller/agent combo.
How can I, within visual studio, tell one of the tests (coded UI) to run under this controller/agent, while keeping the others as they are? I looked into testsettings files but it's not clear how I can get this done.
The controllers/agents are 2010, I'm on vs2012.
Upvotes: 4
Views: 1759
Reputation: 9783
First, you have to configure your controller to run with Visual Studio. So, open the Test Controller Configuration tool
and check that the Register with Team Project Collection
option is not selected.
Then, from visual studio (2012):
add new item
. Add a new Test Setting
file. Test Settings
window go on the Roles
tab. Select Remote Execution
and add the controller's (machine) name or ip in the Controller
field.Test
--> Test Settings
---> Select Test Settings File
and select your new settings.Upvotes: 1