Last active
August 22, 2024 17:57
-
-
Save jfoshee/b61ddda48afc2220f6c6f4a98b61b07a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using TechTalk.SpecFlow; | |
using Xunit; | |
namespace Example.SpecFlowTests.Hooks; | |
[Binding] | |
public class SkipHook | |
{ | |
[BeforeScenario(tags: "skip")] | |
public static void BeforeScenario() | |
{ | |
Skip.If(true, "Scenario is tagged @skip"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment