pytest-bdd icon indicating copy to clipboard operation
pytest-bdd copied to clipboard

BDD library for the py.test runner

Results 165 pytest-bdd issues
Sort by recently updated
recently updated
newest added
trafficstars

Is there a way I can execute a code based on a tag inserted at the feature level in my feature file? I have the same working at the scenario...

I’ve been trying to figure out why the report JSON doesn’t generate if the first step of a scenario is not implemented. The issue doesn’t happen when any other step...

bug

- Add changelog entry - Add README entry - Add tests Resolves #511

Fixes https://github.com/pytest-dev/pytest-bdd/issues/397 Checklist: - [ ] Find all usages of `keyword` and check if we need to replace them with `keyword_type`

I want to overhaul the documentation. I asked some AI to rewrite the Readme, and got half way through it. Here are also some recommendations: ``` To improve the README...

updates: - [github.com/astral-sh/ruff-pre-commit: 895ebb389825c29bd4e0addcf7579d6c69d199cc → 8a948e557ca98afa9489998ad0b85515964df9c4](https://github.com/astral-sh/ruff-pre-commit/compare/895ebb389825c29bd4e0addcf7579d6c69d199cc...8a948e557ca98afa9489998ad0b85515964df9c4) - [github.com/python-poetry/poetry: bd500dd3bdfaec3de6894144c9cedb3a9358be84 → 84eeadc21f92a04d46ea769e3e39d7c902e44136](https://github.com/python-poetry/poetry/compare/bd500dd3bdfaec3de6894144c9cedb3a9358be84...84eeadc21f92a04d46ea769e3e39d7c902e44136)

**Describe the bug** With the current `gherkin-official` (now 32.1.2), `test_step_outside_scenario_or_background_error` fails. **To Reproduce** Write a [Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) to show the bug. ``` $ git clone https://github.com/pytest-dev/pytest-bdd.git $ cd pytest-bdd...

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.3 to 2.5.0. Release notes Sourced from urllib3's releases. 2.5.0 🚀 urllib3 is fundraising for HTTP/2 support urllib3 is raising ~$40,000 USD to release HTTP/2 support and...

dependencies
python

Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4. Release notes Sourced from requests's releases. v2.32.4 2.32.4 (2025-06-10) Security CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted environment will retrieve...

dependencies
python

**Is your feature request related to a problem? Please describe.** Tags on example tables are not picked up by the `pytest_bdd_apply_tag`. i.e. ```gherkin Feature: My Feature Scenario: My scenario case...