Running diff. test lists under diff. testconfigs?
Doesn't look to me like there's any built in way to do this based on the TeamFoundation .targets file implementation, but I thought I'd check to make sure I wasn't missing something. The reason for this is that I have a set of tests that can be run inside of the regular test host and then a set of tests that have to be run inside of an ASP.NET host. Not to mention other settings like the deployables are diff. between the two.
The test task is defined as such:
<TestToolsTask
Condition=" '$(IsDesktopBuild)'!='true' and '%(MetaDataFile.Identity)'!=''"
BuildFlavor="$(Flavor)"
Platform="$(Platform)"
PublishServer="$(TeamFoundationServerUrl)"
PublishBuild="$(BuildNumber)"
SearchPathRoot="$(SearchPathRoot)"
PathToResultsFilesRoot="$(TestResultsRoot)"
MetaDataFile="%(MetaDataFile.Identity)"RunConfigFile="$(RunConfigFile)"
TestLists="%(MetaDataFile.TestList)"
TeamProject="$(TeamProject)"
ContinueOnError="true" />
So as you can see, it's setup to allow multiple MetaDataFile items to be defined each with their own TestLists metatdata, but unfortunately RunConfigFile is a property. This means that every set of tests is going to be run with the same config. Had it been defined like this instead...
RunConfigFile="%(MetaDataFile.RunConfigFile)"
... we could have had specified a separate run config per metadata file.
Any thoughts on how to fix this other than having to making sure to redefine the RunTestWithConfiguration target on every machine?
Cheers,
Drew

