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

Bump pytest-bdd from 5.0.0 to 6.1.1 #331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 9, 2022

Bumps pytest-bdd from 5.0.0 to 6.1.1.

Release notes

Sourced from pytest-bdd's releases.

Release 6.0.0

This release introduces breaking changes in order to be more in line with the official gherkin specification.

Changelog

Sourced from pytest-bdd's changelog.

6.1.1

  • Fix regression introduced in version 6.1.0 where the pytest_bdd_after_scenario hook would be called after every step instead of after the scenario. [#577](https://github.com/pytest-dev/pytest-bdd/issues/577) <https://github.com/pytest-dev/pytest-bdd/pull/577>_

6.1.0

  • Fix bug where steps without parsers would take precedence over steps with parsers. [#534](https://github.com/pytest-dev/pytest-bdd/issues/534) <https://github.com/pytest-dev/pytest-bdd/pull/534>_
  • Step functions can now be decorated multiple times with @​given, @​when, @​then. Previously every decorator would override converters and target_fixture every at every application. [#534](https://github.com/pytest-dev/pytest-bdd/issues/534) <https://github.com/pytest-dev/pytest-bdd/pull/534>_ [#544](https://github.com/pytest-dev/pytest-bdd/issues/544) <https://github.com/pytest-dev/pytest-bdd/pull/544>_ [#525](https://github.com/pytest-dev/pytest-bdd/issues/525) <https://github.com/pytest-dev/pytest-bdd/issues/525>_
  • Require pytest>=6.2 [#534](https://github.com/pytest-dev/pytest-bdd/issues/534) <https://github.com/pytest-dev/pytest-bdd/pull/534>_
  • Using modern way to specify hook options to avoid deprecation warnings with pytest >=7.2.
  • Add generic step decorator that will be used for all kind of steps [#548](https://github.com/pytest-dev/pytest-bdd/issues/548) <https://github.com/pytest-dev/pytest-bdd/pull/548>_
  • Add stacklevel param to given, when, then, step decorators. This allows for programmatic step generation [#548](https://github.com/pytest-dev/pytest-bdd/issues/548) <https://github.com/pytest-dev/pytest-bdd/pull/548>_
  • Hide pytest-bdd internal method in user tracebacks [#557](https://github.com/pytest-dev/pytest-bdd/issues/557) <https://github.com/pytest-dev/pytest-bdd/pull/557>_.
  • Make the package PEP 561-compatible [#559](https://github.com/pytest-dev/pytest-bdd/issues/559) <https://github.com/pytest-dev/pytest-bdd/issues/559>_ [#563](https://github.com/pytest-dev/pytest-bdd/issues/563) <https://github.com/pytest-dev/pytest-bdd/pull/563>_.
  • Configuration option bdd_features_base_dir is interpreted as relative to the pytest root directory <https://docs.pytest.org/en/latest/reference/customize.html#rootdir>_ (previously it was relative to the current working directory). [#573](https://github.com/pytest-dev/pytest-bdd/issues/573) <https://github.com/pytest-dev/pytest-bdd/pull/573>_

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/issues/530) <https://github.com/pytest-dev/pytest-bdd/pull/530>_ [#528](https://github.com/pytest-dev/pytest-bdd/issues/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/issues/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/issues/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/issues/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/issues/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/issues/495) <https://github.com/pytest-dev/pytest-bdd/pull/495>_ [#504](https://github.com/pytest-dev/pytest-bdd/issues/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) <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/issues/499) <https://github.com/pytest-dev/pytest-bdd/pull/499>_
  • Add type annotations (youtux) [#505](https://github.com/pytest-dev/pytest-bdd/issues/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/issues/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/issues/524) <https://github.com/pytest-dev/pytest-bdd/pull/524>_.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pytest-bdd](https://github.com/pytest-dev/pytest-bdd) from 5.0.0 to 6.1.1.
- [Release notes](https://github.com/pytest-dev/pytest-bdd/releases)
- [Changelog](https://github.com/pytest-dev/pytest-bdd/blob/master/CHANGES.rst)
- [Commits](https://github.com/pytest-dev/pytest-bdd/commits)

---
updated-dependencies:
- dependency-name: pytest-bdd
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants