Using to run a collection of unit tests and push the results into TFS gives the following output as expected:
MSTest command:Output:
However, the results are not visible in TFS associated with the build.
Mstest.exe
MSTest command:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe" /testcontainer:C:\temp\AnyCPU\Release\TestAssembly.dll /publish:http://tfsserver:8080/tfs/prod /TeamProject:ProjectName /publishbuild:1.2.3.4.5 /platform:AnyCPU /flavor:Release
Summary
-------
Test Run Completed.
Passed 15
----------
Total 15
Results file: C:\temp\MachineName 2012-04-17 18_57_48_AnyCPU_Release.trx
Test Settings: Default Test Settings
Waiting to publish...
Publishing results of test run alias@machinename 2012-04-17 18:57:48_AnyCPU_Release to http://tfsHost:8080/tfs/prod.
..
........Publish completed successfully.
However, the results are not visible in TFS associated with the build.