Unit Test ouput in MSBuild/TFS 2008
- by Adam Jenkin
I have a build in TFS 2008 which includes the running of a UnitTest project.
I have configured my build as such that in the drop folder after each build, I get a StyleCop.log, FxCop.log and would like to place the trx or output from the unit tests here also.
I can see that my unit tests are running as part of the build, however currently I cannot find were the output is saved to or find a way of setting the ouput to my drop location ($(DropLocation)\$(BuildNumber)\MyUnitTests.txt)
My unit tests are included by using the following:-
<RunTest>true</RunTest>
...
<ItemGroup>
<TestContainer Include="$(OutDir)\%2aMyUnitTests.dll" />
</ItemGroup>
Can somebody help explain how I can achieve this.