Forcing a testrunconfig for Team Build?

I've seen mention of a <Runconfiguration> property thrown around and also an approach of <TestingArgs>/runconfiguration:blahblah</TestingArgs>. I've tried both and neither one is working out for me, so it's always pulling the default one from my VSMDI.

Any suggestions?

TIA,
Drew

[326 byte] By [DrewMarsh] at [2008-2-8]
# 1

Nevermind, I dug into the Microsoft.TeamFoundation.Build.targets file and found it. The RunTestsWithConfiguration target has a pair of TestToolsTaks in it and that supports a RunConfigFile property that is pulled from a build property named the same.

<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" />

Hopefully this saves someone else some digging.

Cheers,
Drew

DrewMarsh at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - Build Automation...

Visual Studio Team System

Site Classified