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

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

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 59%. Comparing base (4cf2da8) to head (3025971).

❗ There is a different number of reports uploaded between BASE (4cf2da8) and HEAD (3025971). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (4cf2da8) HEAD (3025971)
tests 1 0
Additional details and impacted files
@@          Coverage Diff           @@
##           master   #863    +/-   ##
======================================
- Coverage      78%    59%   -19%     
======================================
  Files          30     30            
  Lines        3365   3365            
======================================
- Hits         2634   2015   -619     
- Misses        731   1350   +619     
Flag Coverage Δ
examples 59% <ø> (ø)
tests ?

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.

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.

0 participants