Skip to content

Conversation

@delatrie
Copy link
Contributor

@delatrie delatrie commented Apr 2, 2025

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 delatrie added the type:bug Pull requests that fix bugs label Apr 2, 2025
@delatrie delatrie marked this pull request as ready for review April 2, 2025 17:36
@delatrie delatrie merged commit 04a9655 into master Apr 3, 2025
13 checks passed
@delatrie delatrie deleted the pytest-bdd-5.0-compat branch April 3, 2025 10:07
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.

3 participants