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

Many [Gherkin](https://github.com/cucumber/cucumber/wiki/Gherkin#gherkin-syntax) [examples](https://github.com/cucumber/cucumber/wiki/Given-When-Then#and-but) on the net indent And/But steps with an extra space: ``` cucumber Scenario: Indent my steps When I indent with 4 spaces And I indent with 5...

enhancement
backwards incompatible

Feature request... Will it ever be possible to implement the ability to add pytest.marks to steps?

I am getting the error while running the pytest bdd scenario: request = @scenario(featrure_name='sample.feature', scenario_name ' sample', feature_base_dir='usr/local/bin/test', strict_gherkin=False) > def test-arguments_for_given_when_thens(): def _execute_scenario(feature, scenario, request, encoding): """Execute the scenario....

See screenshot below. I would expect the steps of the skipped test to be printed out in mustard yellow like the word "SKIPPED". At a minimum, I would expect the...

I'm struggling to get tracebacks in pytest-bdd tests down to a manageable size. --tb=short doesn't do too much. It seems to be worst on `given` steps. Even on a simple...

updates: - [github.com/psf/black: 24.2.0 → 24.4.2](https://github.com/psf/black/compare/24.2.0...24.4.2) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/asottile/pyupgrade: v3.15.1 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.15.1...v3.16.0)

Hello, pytest-bdd: 7.0.0 I am having a simple Scenario Outline which is using table like this: ``` | Popup | Country | Site | Locator | | False | US...

bug
good first issue

Pytest BDD version : 7.0.1 I have below lines in feature file: ``` Given.. When.. Then I see a And I see a "" Examples: |status_code_returned| error_message. | | 409...

awaiting response

After renaming folders in my project, I encountered an issue with pytest-bdd. It seems to struggle in locating the correct path, persistently searching for scenarios in the last path, which...

Fix many `mypy` issues. Notably, I replace private attributes like `__scenario__`, `__scenario_report__`, etc. with registries (WeakKeyDictionary). E.g. ```python # Old way # setting value scenario_wrapper.__scenario__ = scenario # getting value...