tfsmsbuildtrx

How to add TRX file to TFS build report


During msbuild process I get TRX-file and I want to add this file to TFS unit-tests report. How can I do that?


Solution

  • [MSDN] To publish command-line test results to the database for the team project collection

    For example:

    MSTest /publishresultsfile:testResult.trx /publish:http://ourtfsmachine:8080 /teamproject:ProjectName /publishbuild:BuildNumber01 /platform:AnyCpu /flavor:Release