Note that there are some explanatory texts on larger screens.

plurals
  1. PORunning MSTEST.exe /publish on a TeamBuild server, what are the prerequisites?
    primarykey
    data
    text
    <p>Similarly to <a href="https://stackoverflow.com/questions/954943/how-to-use-mstest-in-continous-integration-without-vs">How to use MsTest in Continuous Integration without VS?</a>, I want to run mstest.exe on a TeamBuild server.</p> <p>My context is <a href="https://stackoverflow.com/questions/1059230/trapping-error-status-in-msbuild/1059672#1059672">Trapping Error Status in MSBuild</a> - i.e., I'm only trying to use mstest.exe /publish to upload the results in to the TFS repository. Thus the full rigmarole in <a href="http://www.shunra.com/shunrablog/index.php/2009/04/23/running-mstest-without-visual-studio/" rel="nofollow noreferrer">http://www.shunra.com/shunrablog/index.php/2009/04/23/running-mstest-without-visual-studio/</a> is (you'd hope) likely to be overkill, esp as MSTEST.exe, as covered in <a href="http://social.msdn.microsoft.com/Forums/en-US/tfsgeneral/thread/e4575890-8f88-413c-a7f3-0d09d3b9cb01" rel="nofollow noreferrer">http://social.msdn.microsoft.com/Forums/en-US/tfsgeneral/thread/e4575890-8f88-413c-a7f3-0d09d3b9cb01</a> suggests all I need to do is install Team Explorer.</p> <p>I've installed VS2008 Team Explorer SP1, and mstest.exe /? still isnt telling me about the publish options.</p> <p>Recall that it says only <strong><em>Team Explorer</em></strong> is required of mstest.exe /? for publishing:</p> <blockquote> <p>The following options are also available if Team Explorer is installed:</p> <p>/publish:[server name] Publish results to the Team Foundation Server.</p> <p>/publishbuild:[build name] The build identifier to be used to publish test results.</p> <p>/publishresultsfile:[file name] The name of the test results file to publish. If none is specified, use the file produced by the current test run.</p> <p>/teamproject:[team project name] The name of the team project to which the build belongs. Specify this when publishing test results.</p> <p>/platform:[platform] The platform of the build against which to publish test results.</p> <p>/flavor:[flavor] The flavor of the build against which to publish test results.</p> </blockquote> <p>I'm going down the procmon.exe path to figure out what's missing, but ideally someone in the know would step in and answer:-</p> <p>Should mstest.exe /publish only require Team Explorer as stated, or does it require VSTT and Team Explorer?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload