-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Programmatic skip #42
Conversation
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
@PiotrNestor Thank you for contributing to gauge-csharp-lib. Your pull request has been labeled as a release candidate 🎉🎉. Merging this PR will trigger a release. Please bump up the version as part of this PR.Instructions to bump the version can found at CONTRIBUTING.md If the CONTRIBUTING.md file does not exist or does not include instructions about bumping up the version, please looks previous commits in git history to see what changes need to be done. |
I don't mind this design of raising an exception to skip a scenario. But I wanted to suggest that an explicit API that can be a function call may also be considered. Ex: What do you think @PiotrNestor ? |
@sriv What would be the execution flow with the Gauge.SkipCurrentScenario() approach? Sounds more complex to implement !? |
I am going to merge this, since I don't have a huge preference here. In any case, we can always include support for a Skip scenario function when we need more context around it. |
Add SkipScenarioException to be used for programmatically skipping remaining scenario execution.