title: How do you run Web Tests during a Team Build (for TFS 2010)?
body: <p>I have a number of solutions in TFS 2010 and happily building them with Team Build, including running unit tests defined in assemblies.</p>
  
  <p>For one solution, I have added some Web Tests (defined in files with the extension ".webtest"). I can successfully run these Web Tests locally from Visual Studio 2010 but cannot get them to execute during a Team Build.</p>
  
  <p>In the Team Build Definition, I have tried changing the "Test assembly file specification" value to "<code>*test*.dll;*.webtest</code>" but this fails to pick up the Web Tests. I can see that the .webtest files have been copied under the "Binaries\Debug" directory (same place as the unit tests) so I'm a bit puzzled why they are not found.</p>
  
  <p>What am I missing? How do you get the .webtest files to run under a Team Build?</p>
  
  <p>Thanks</p>