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 6.0.1 #132

Closed pyup-bot closed 2 years ago

pyup-bot commented 2 years ago

This PR updates pytest-bdd from 4.0.1 to 6.0.1.

Changelog ### 6.0.1 ``` ----- - Fix regression introduced in 6.0.0 where a step function decorated multiple using a parsers times would not be executed correctly. `530 <https://github.com/pytest-dev/pytest-bdd/pull/530>`_ `#528 <https://github.com/pytest-dev/pytest-bdd/issues/528>`_ ``` ### 6.0.0 ``` ----- 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 <https://github.com/pytest-dev/pytest-bdd/pull/469>`_ - Removed feature level examples for the gherkin compatibility (olegpidsadnyi) `490 <https://github.com/pytest-dev/pytest-bdd/pull/490>`_ - Removed vertical examples for the gherkin compatibility (olegpidsadnyi) `492 <https://github.com/pytest-dev/pytest-bdd/pull/492>`_ - Step arguments are no longer fixtures (olegpidsadnyi) `493 <https://github.com/pytest-dev/pytest-bdd/pull/493>`_ - Drop support of python 3.6, pytest 4 (elchupanebrej) `495 <https://github.com/pytest-dev/pytest-bdd/pull/495>`_ `#504 <https://github.com/pytest-dev/pytest-bdd/issues/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 <https://github.com/pytest-dev/pytest-bdd/issues/503>`_ - Scenario outlines unused example parameter validation is removed (olegpidsadnyi) `499 <https://github.com/pytest-dev/pytest-bdd/pull/499>`_ - Add type annotations (youtux) `505 <https://github.com/pytest-dev/pytest-bdd/pull/505>`_ - ``pytest_bdd.parsers.StepParser`` now is an Abstract Base Class. Subclasses must make sure to implement the abstract methods. (youtux) `505 <https://github.com/pytest-dev/pytest-bdd/pull/505>`_ - Angular brackets in step definitions are only parsed in "Scenario Outline" (previously they were parsed also in normal "Scenario"s) (youtux) `524 <https://github.com/pytest-dev/pytest-bdd/pull/524>`_. ``` ### 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