I am trying to easily display unit test results and code coverage reports from Visual Studio 2012 into the CruiseControl.NET Build Reports. The pieces are the following:
- MSBuild - to build the project
- vstest.console.exe - to execute visual studio unit tests and code coverage tools via the command line
- custom console application to convert coverage report to XML
My problem is how can I control the output name for the vstest.console.exe. I am not finding anyway to control this. My only solution at this point is to write some custom script to find the coverage file and TRX file and rename to a known value. Then the cruise control tool can find the files properly.
Any help would be appreciated. Thanks,