Skip tagged scenarios in SpecFlow with Xunit
How to skip scenarios with a certain tag from executing
Feature: Skipping scenarios by tag
@Draft
Scenario: This is not ready yet
Given Something not done yet
Then It should not fail the CI build (yet)public Steps(ScenarioContext context)
{
Skip.If(context.ScenarioInfo.Tags.Contains("Draft"));
}Last updated