This release introduces breaking changes in order to be more in line with the official gherkin specification.
- Cleanup of the documentation and tests related to parametrization (elchupanebrej) #469
- Removed feature level examples for the gherkin compatibility (olegpidsadnyi) #490
- Removed vertical examples for the gherkin compatibility (olegpidsadnyi) #492
- Step arguments are no longer fixtures (olegpidsadnyi) #493
- Drop support of python 3.6, pytest 4 (elchupanebrej) #495 #504
- Step definitions can have "yield" statements again (4.0 release broke it). They will be executed as normal fixtures: code after the yield is executed during teardown of the test. (youtux) #503
- Scenario outlines unused example parameter validation is removed (olegpidsadnyi) #499
- Add type annotations (youtux) #505
pytest_bdd.parsers.StepParser
now is an Abstract Base Class. Subclasses must make sure to implement the abstract methods. (youtux) #505- Angular brackets in step definitions are only parsed in "Scenario Outline" (previously they were parsed also in normal "Scenario"s) (youtux) #524.