Before publishing the test result we have to store the test results in a trace file. Use the /tracefile
option with the MSTest
command line to store the test results. The default extension for the trace file is .trx
. It is better to use the same extension when we force Visual Studio to use a specific trace file for the test results.
For example:
MSTest /testmetadata:TestProject.vsmdi /testfile:TestProject.trx
3.129.68.3