🤔 What's the problem you're trying to solve?
We require the means to skip a test from the code. Here are a couple of examples:
- We run tests that require an environment variable, if that variable is not set then we want to skip the test.
- We run tests to check tls ciphers on a server for a given tls version, if the server does not support that tls version then we want to skip the test.
✨ What's your proposed solution?
The proposed solution is to have an error (something like godog.SkipTest) that can be returned from the code and that will mark the test/scenario as skipped but not as failed.
⛏ Have you considered any alternatives or workarounds?
For now we have a test context where we set a flag and then we have to add code to skip all godog methods if flagged.
This has the disadvantage that the test is not marked as skipped.
📚 Any additional context?
This text was originally generated from a template, then edited by hand. You can modify the template here.
🤔 What's the problem you're trying to solve?
We require the means to skip a test from the code. Here are a couple of examples:
✨ What's your proposed solution?
The proposed solution is to have an error (something like
godog.SkipTest) that can be returned from the code and that will mark the test/scenario as skipped but not as failed.⛏ Have you considered any alternatives or workarounds?
For now we have a test context where we set a flag and then we have to add code to skip all godog methods if flagged.
This has the disadvantage that the test is not marked as skipped.
📚 Any additional context?
This text was originally generated from a template, then edited by hand. You can modify the template here.