-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add support to skip scenarios on runtime #390
Comments
If you want to have a go at implementing this, I am happy to make it a little easier by updating the protobufs to the latest so the message API is exposed to be consumed within the plugin :-) |
Currently I am struggeling to understand where I need to throw and catch the "SkipScenarioException" in order to send the Gauge.Message to skip execution. My assumption:
If I catch the skip exception before the global exception, I would be able to overwrite the flag |
I think something like that, yes. The When the exception is raised by the user, the reason is reported with a message. |
Is your feature request related to a problem? Please describe.
I need to skip scenarios on runtime as the system-under-test differs. Therefore I would like to have the Python-runner to support the PR: getgauge/gauge#2502
Describe the solution you'd like
Apply the changes done in C# also for Python.
Describe alternatives you've considered
None
Additional context
C# PR: getgauge/gauge-csharp-lib#42
The text was updated successfully, but these errors were encountered: