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

fix(deps): update dependency pytest-bdd to v8 #863

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-bdd (source) ~=7.0 -> ~=8.0 age adoption passing confidence

Release Notes

pytest-dev/pytest-bdd (pytest-bdd)

v8.0.0

Compare Source

Added
+++++

  • Gherkin keyword aliases can now be used and correctly reported in json and terminal output (see Keywords <https://cucumber.io/docs/gherkin/reference/#keywords>_ for permitted list).
  • Added localization support. The language of the feature file can be specified using the # language: <language> directive at the beginning of the file.
  • Rule keyword can be used in feature files (see Rule <https://cucumber.io/docs/gherkin/reference/#rule>_)
  • Added support for multiple example tables
  • Added filtering by tags against example tables
  • Since the 7.x series:
    • Tags can now be on multiple lines (stacked)
    • Continuation of steps using asterisks (*) instead of And/But supported.
    • Added datatable argument for steps that contain a datatable (see Data Tables <https://cucumber.io/docs/gherkin/reference/#data-tables>_).
    • Added docstring argument for steps that contain a docstring (see Doc Strings <https://cucumber.io/docs/gherkin/reference/#doc-strings>_).

Changed
+++++++

  • Changelog format updated to follow Keep a Changelog <https://keepachangelog.com/en/1.1.0/>_.

  • Text after the # character is no longer stripped from the Scenario and Feature name.

  • Since the 7.x series:

    • Use the gherkin-official <https://pypi.org/project/gherkin-official/>_ parser, replacing the custom parsing logic. This will make pytest-bdd more compatible with the Gherkin specification.
    • Multiline steps must now always use triple-quotes for the additional lines.
    • All feature files must now use the keyword Feature: to be considered valid.
    • Tags can no longer have spaces (e.g. @tag one and @tag two are no longer valid).
    • Text after the # character is no longer stripped from the Step name.
    • Multiline strings no longer match name based on multiple lines - only on the actual step text on the step line.

Removed
+++++++

  • Dropped support for python 3.8. Supported python versions: 3.9, 3.10, 3.11, 3.12, 3.13.

  • Since the 7.x series:

    • Drop compatibility with pytest < 7.0.0.

Fixed
+++++

  • Since the 7.x series:

    • Updated documentation to clarify that --gherkin-terminal-reporter needs to be used with -v or -vv.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

codecov bot commented Nov 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78%. Comparing base (9574311) to head (00ed8c3).
Report is 3 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #863   +/-   ##
===================================
  Coverage    78%    78%           
===================================
  Files        30     30           
  Lines      3365   3365           
===================================
  Hits       2634   2634           
  Misses      731    731           
Flag Coverage Δ
examples 59% <ø> (ø)
tests 75% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor Author

renovate bot commented Nov 22, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

JP-Ellis and others added 3 commits November 25, 2024 13:21
Asyncio requires that the fixture loop scope be explicitly set.

Signed-off-by: JP-Ellis <josh@jpellis.me>
Signed-off-by: JP-Ellis <josh@jpellis.me>
@JP-Ellis JP-Ellis merged commit 65da2af into main Nov 26, 2024
36 of 37 checks passed
@JP-Ellis JP-Ellis deleted the renovate/pytest-bdd-8.x branch November 26, 2024 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant