Scenario outlines are very handy for creating data driven tests, but the number of scenarios increases with the number of examples. I\'ve gotten in the habit of tagging scenario
I am able to run single example from scenario outline by below command
C:\Users\..\..\bin\Debug>"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" yourTests.exe /Tests:yourTestName
where yourTestName
is the name of the test that is generated in test explorer upon build and yourTests.exe
is the generated exe in /bin/debug
. I am using MSTest
For more info on names generated look here