FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(pytest-bdd): compatibility with pytest-bdd 5 and 6 by delatrie · Pull Request #851 · allure-framework/allure-python · GitHub

fix(pytest-bdd): compatibility with pytest-bdd 5 and 6 - #851

Merged
delatrie merged 3 commits into
masterfrom
pytest-bdd-5.0-compat
Apr 3, 2025
Merged

fix(pytest-bdd): compatibility with pytest-bdd 5 and 6#851
delatrie merged 3 commits into
masterfrom
pytest-bdd-5.0-compat

Conversation

delatrie commented Apr 2, 2025

Copy link
Copy Markdown
Contributor

Context

Scenario-level descriptions are not supported in Pytest-BDD until version 7. Since we aim to support versions starting from 5, this PR adds some fallbacks when extracting these descriptions.

The PR also disables description tests for Pytest-BDD<7 and makes the step title interpolation test compatible with v5.

Checklist

delatrie added the type:bug Pull requests that fix bugs label Apr 2, 2025
delatrie marked this pull request as ready for review April 2, 2025 17:36
delatrie merged commit 04a9655 into master Apr 3, 2025
delatrie deleted the pytest-bdd-5.0-compat branch April 3, 2025 10:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:pytest-bdd type:bug Pull requests that fix bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL