title: How do I tell MSTEST to run all test projects in a Solution?
body: <p>I need to know how to tell MSTEST to run all test projects in a solution file.  This needs to be done from the command line.  Right now I have to pass it a specific project file, I'm trying to get it to run from a SOLUTION file.</p>
  
  <p>I'm hoping this is possible, because in Visual Studio, hitting Ctrl+R, A, runs ALL tests in the currently opened solution.</p>
  
  <p>The way I've interpretted the help files, you have to pass in each DLL specifically.  </p>
  
  <p>I want to run this from the command line from my CruiseControl.NET  server, so I can write other utilities to make this happen.  If there is a wierd way of getting this to happen through some OTHER method, let me know.</p>
  
  <p>How do I tell MSTEST to run all test projects for a solution?</p>
  
  <pre><code>&lt;exec&gt;
      &lt;!--MSTEST seems to want me to specify the projects to test --&gt;
      &lt;!--I should be able to tell it a SOLUTION to test!--&gt;
      &lt;executable&gt;mstest.exe&lt;/executable&gt;
      &lt;baseDirectory&gt;C:\projects\mysolution\&lt;/baseDirectory&gt;
      &lt;buildArgs&gt;/testcontainer:testproject1\bin\release\TestProject1.dll 
      /runconfig:localtestrun.Testrunconfig 
      /resultsfile:C:\Results\testproject1.results.trx&lt;/buildArgs&gt;
      &lt;buildTimeoutSeconds&gt;600&lt;/buildTimeoutSeconds&gt;
  &lt;/exec&gt;
  </code></pre>