Skip to content
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

Rewrite scenario/feature examples logic #445

Merged
merged 64 commits into from
Sep 23, 2021
Merged

Rewrite scenario/feature examples logic #445

merged 64 commits into from
Sep 23, 2021

Conversation

youtux
Copy link
Contributor

@youtux youtux commented Sep 18, 2021

Rewrite the logic to parse Examples for Scenario Outlines. Now the substitution of the examples is done during the parsing of Gherkin feature files.

We won't need to define the steps twice like @given("there are <start> cucumbers") and @given(parsers.parse("there are {start} cucumbers")). The latter will be enough.

Supersedes #433.
Fixes #409, #293

youtux and others added 30 commits August 21, 2021 15:42
…stead of using parametrization.

`test_outlined` should succeed.
@youtux youtux marked this pull request as ready for review September 19, 2021 17:54
Copy link
Contributor

@olegpidsadnyi olegpidsadnyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, a lot more consistent this way

@youtux youtux merged commit 379cb4b into master Sep 23, 2021
elchupanebrej pushed a commit to elchupanebrej/pytest-bdd-ng that referenced this pull request Oct 24, 2021
elchupanebrej pushed a commit to elchupanebrej/pytest-bdd-ng that referenced this pull request Jan 1, 2022
elchupanebrej pushed a commit to elchupanebrej/pytest-bdd-ng that referenced this pull request Jan 1, 2022
elchupanebrej pushed a commit to elchupanebrej/pytest-bdd-ng that referenced this pull request Jan 3, 2022
elchupanebrej pushed a commit to elchupanebrej/pytest-bdd-ng that referenced this pull request Jan 3, 2022
olegpidsadnyi pushed a commit that referenced this pull request Jan 4, 2022
olegpidsadnyi pushed a commit that referenced this pull request Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parsers should parse scenario outline like standard scenarios
2 participants