1. Enable mstestshim.exe for 64 bit test binaries
c:/TestAutomation>MsTest/CorFlags.exe /32bit- /force mstest/MSTestShim.exe
Microsoft (R) .NET Framework CorFlags Conversion Tool. Version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
c:/TestAutomation>
2.
Run the test cases using mstestshim.exe
Open command prompt to c:/testautomation and run the following command
C:/TestAutomation>MsTest/MSTestShim.exe /testcontainer:c:/testautomation/Microsoft.AdCenter.Test.RnR.AdpredictTestCases.dll /test:AdPredict_P0_Multi_Model_4_Partition_B18 /noisolation
This will run cases named like AdPredict_P0_Multi_Model_4_Partition_B18*
If you want to run all cases in Microsoft.AdCenter.Test.RnR.AdpredictTestCases.dll, just run below command:
C:/TestAutomation>MsTest/MSTestShim.exe /testcontainer:c:/testautomation/Microsoft.AdCenter.Test.RnR.AdpredictTestCases.dll /test:* /noisolation
3. After each run, you will get a detailed .trx file for the test report.