How to run test explorer based tests from a stand-alone executable?

To run test explorer based tests from your own custom exectuable (32 bit/64 bit does not matter), you should do the following steps: –   Ensure that you have visual studio 2012 or above installed on your machine. Download this sample (RunTests.exe) and extract it on your machine. You can use this as a starting…


How to enable build agent or build controller’s logs?

Here are the steps which I typically perform to enable build agent/controller logs. 1. Go to the build agent/controller installation directory (typically it is something like C:\Program Files\Microsoft Team Foundation Server 2010\Tools). 2. Create a new configuration file named TFSBuildServiceHost.exe.config with the following content: <configuration>    <system.diagnostics>        <switches>            <add name=”BuildServiceTraceLevel” value=”4″/>        </switches>        <trace autoflush=”true” indentsize=”4″>            <listeners>               …

5