coreofscience / python-wostools

Tools to work with web of science plain text files.
MIT License
23 stars 8 forks source link

Update pytest-bdd to 5.0.0 #113

Closed pyup-bot closed 2 years ago

pyup-bot commented 3 years ago

This PR updates pytest-bdd from 4.0.1 to 5.0.0.

Changelog ### 5.0.0 ``` ----- This release introduces breaking changes, please refer to the :ref:`Migration from 4.x.x`. - Rewrite the logic to parse Examples for Scenario Outlines. Now the substitution of the examples is done during the parsing of Gherkin feature files. You 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. - Removed ``example_converters`` from ``scenario(...)`` signature. You should now use just the ``converters`` parameter for ``given``, ``when``, ``then``. - Removed ``--cucumberjson-expanded`` and ``--cucumber-json-expanded`` options. Now the JSON report is always expanded. - Removed ``--gherkin-terminal-reporter-expanded`` option. Now the terminal report is always expanded. ``` ### 4.1.0 ``` ----------- - `when` and `then` steps now can provide a `target_fixture`, just like `given` does. Discussion at https://github.com/pytest-dev/pytest-bdd/issues/402. - Drop compatibility for python 2 and officially support only python >= 3.6. - Fix error when using `--cucumber-json-expanded` in combination with `example_converters` (marcbrossaissogeti). - Fix `--generate-missing` not correctly recognizing steps with parsers ``` ### 4.0.2 ``` ----- - Fix a bug that prevents using comments in the ``Examples:`` section. (youtux) ```
Links - PyPI: https://pypi.org/project/pytest-bdd - Changelog: https://pyup.io/changelogs/pytest-bdd/ - Repo: https://github.com/pytest-dev/pytest-bdd
pyup-bot commented 2 years ago

Closing this in favor of #131