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

When we override the language by redefining the "types" constants, the terminal reporting as well as the cucumber.json output does not follow as expected. Although this is not an I18N...

I am using pytest-bdd for running the bdd tests. I am trying to get the results following the run using the flag --gherkin-terminal-reporter, however not able to get any results...

Given pytest-bdd is installed, if you type: ~~~ >>> import types >>> types.__file__ '.....\\my_venv\\Lib\\site-packages\\pytest_bdd\\types.py' ~~~ But without pytest-bdd: ~~~ >>> import types >>> types.__file__ 'C:\\Program Files\\Python36\\lib\\types.py' ~~~ So types, which...

Seems like the api is unexpected: ``` scenario(filename, name) scenarios(folder) ``` So one would expect following to give a better error: ``` scenarios('foo.feature') *** AttributeError: 'NoneType' object has no attribute...

Are there known limitations if one wants to integrate `pytest-bdd` with `pytest` and [hypothesis](https://hypothesis.readthedocs.io/en/latest/)?

Step name does not contain argument value in scenario outline in Cucumber JSON report when I use @pytest.mark.parametrize decorator. Version: python==3.7.3 pytest==5.1.2 pytest-bdd==3.2.1 ```gherkin # -- FILE: scenario_outline.feature Scenario Outline:...

I saw the conversation marked in #143 regarding accessing the test state of a scenario after execution in an after_scenario hook but still feel like this is something that should...

In issue [222](https://github.com/pytest-dev/pytest-bdd/pull/222) and [235](https://github.com/pytest-dev/pytest-bdd/issues/235), I saw the same issue was addressed if the scrnario outline is in traditional Gherkin way, i.e. via Examples in feature files. But if the...

When generating missing `--generate-missing --feature` all works good with `Python 2.7.12, pytest-2.9.2, py-1.4.32, pluggy-0.3.1, pytest-bdd-2.16.0` but when I do same thing with ` Python 2.7.12, pytest-2.9.2, py-1.4.32, pluggy-0.3.1, pytest-bdd-2.16.1` or...