Closed elchupanebrej closed 5 days ago
Any update on this feature?
news?
@olegpidsadnyi could you please check #413 and provide some timeline for parser rewriting.
There could be one good step to untangle development: split parsing and execution models maybe with some marshalling in between as it was done in Cucmber.io project.
This feature uses aspects of Gherkin dialect which were not presented by Gherkin originally (pytest-bdd and Cucumber.io Gherkin dialects are different). I have a branch that could execute a model provided by Cucumber.io community. Before I could create new PR I want to know that this feature could have a future in this project.
@olegpidsadnyi please review this feature and put it if possible to a roadmap
bump
@VladimirChernev could I ask you to check https://github.com/elchupanebrej/pytest-bdd-ng fork? It doesn't support examples in background sections (because Gherkin specification doesn't support them), but it supports tags for example sections
I implemented this feature using pytest-bdd
internals and also using the pytest_collection_modifyitems
function:
https://stackoverflow.com/a/76653953/6628488
When I have Feature file like:
and invoke pytest like:
pytest-bdd respects added tags
NB:
Gherkin parser already has such model and it already used here: https://behave.readthedocs.io/en/latest/new_and_noteworthy_v1.2.6.html#index-0