This question is locked. New answers and comments are not allowed.
Hi Telerik team,
What is the correct way to run my tests when i have more than 1 test list (I'm using MSBuild to run my tests)? Say, i have 2 test lists which are "MyTestList1" and "MyTestList2".
I tried to use below command in my build scipt but it seems to execute the tests in my first test list ("MyTestList1") only :
<Target Name="BuildSolution" >
<MSBuild Projects="@(ProjectsToBuild)"/>
<CallTarget Targets="RunTest" /> -->
</Target>
<Target Name="RunTest" >
<Exec Command ='"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe" /testmetadata:"Amd.Ca.UITest.vsmdi" /testlist:"MyTestList1"' />
<Exec Command ='"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe" /testmetadata:"Amd.Ca.UITest.vsmdi" /testlist:"MyTestList2"' />
</Target>
What is the correct way to run my tests when i have more than 1 test list (I'm using MSBuild to run my tests)? Say, i have 2 test lists which are "MyTestList1" and "MyTestList2".
I tried to use below command in my build scipt but it seems to execute the tests in my first test list ("MyTestList1") only :
<Target Name="BuildSolution" >
<MSBuild Projects="@(ProjectsToBuild)"/>
<CallTarget Targets="RunTest" /> -->
</Target>
<Target Name="RunTest" >
<Exec Command ='"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe" /testmetadata:"Amd.Ca.UITest.vsmdi" /testlist:"MyTestList1"' />
<Exec Command ='"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe" /testmetadata:"Amd.Ca.UITest.vsmdi" /testlist:"MyTestList2"' />
</Target>