Is it possible to run the tests on TFS 2010 with a different identity ?
The code being tested require higher privileges ( Active Directory, Filesystem manipulations) than the ones the current account has.
Right now there there is impersonation in the code but I want to get rid of it as the calling website will have the impersonation active.
Thanks !
Vincent
From the Test agent, Test Controller and MSTEST FAQ:
You can potentially also turn this behavior into your advantage: run an MSTest agent under an elevated account and dispatch your test runs to be executed by this MSTest agent. To configure this, please read: Create Test Settings to Run Automated Tests from Visual Studio. This will allow you to run your test to be executed under the account ofn desire, without having to explicitly impersonate your user all the time.