-
Notifications
You must be signed in to change notification settings - Fork 70
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
Failure to parse feature file with multiple tags in a scenario outline #164
Comments
@tgsmith61591 thanks for looking into it. It's very helpful to see people experienced in other First problem mainly comes from Second problem is in this crate and should be an easy and fast fix. |
Thanks for taking a look. I appreciate all the work you've put into this great crate! |
Co-authored-by: Kai Ren <[email protected]>
Fixed in #165 (review) and cucumber-rs/gherkin#29, and will be released in 0.11 soon. |
Version: 0.10.2
I have a feature file that resembles:
This works when I run:
$ cargo test --test my_foo -- --tags=@foo
However, the tests are very long running, and there are quite a lot of them. I would like to split some examples into
@smoke
, which will run for CI jobs, and@nightly
, which will only run on a nightly cron. Something like:Where smoke jobs will run with:
Problem 1:
This causes a parsing error:
Problem 2:
I collapsed the examples just to try to narrow down the problem. It appears
cucumber-rs
cannot handle tags on theExamples
section, as this runs zero tests:Even this didn't work:
NOTE it is worth mentioning this is 100% supported by Godog (Golang) and behave (Python). Since the setup steps in my actual case are fairly verbose, it would be wasteful to copy/paste an entirely new
Scenario Outline
with the@nightly
tag.The text was updated successfully, but these errors were encountered: