How to run all tests for Feature level Target Tag in DotNetCoreCLI Pipeline Test Task?Completed
I am stuck on how to filter my tests to run on only one browser.
I'm using Specflow Runner + Selenium.
I have tagged my features with eg. @Chrome @Edge and I am picking these up in the srprofile as Targets like this and everything is working:
<EnvironmentVariable variable="Test_Browser" value="Chrome" />
What I want to do is run only the tests for a specific browser rather than all of them. So in my pipeline in the .Net Core test task I have the argument
I found the answer on the Bookshop example page. Filter by name, where the name includes your target.--filter Name~"target: Edge"0
Hi Robin Hughes,
Glad you found a solution, apologies I did not see this sooner.0
Please sign in to leave a comment.