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

Support async scenarios without requiring any specific async framework

Hello, I'm trying to use an autouse fixture to do some cleanup after a test. I'm defining a fixture depending of the given step but that doesn't seem to work....

Relates to https://github.com/pytest-dev/pytest-bdd/issues/223 This pull request adds support for asynchronous steps and scenario functions. As i wrote in `README.rst` user will be able to use async steps and scenarios out...

Pytest-bdd uses frame inspection to obtain the path to its feature file. This in unreliable because Pytest performs assert rewriting, and caches the rewritten modules. If I run pytest-bdd on...

The generate option can be a great time saver, but it would really help me if I could use a custom template not the default one, that way I can...

For example: ``` @given('I have {count:w} apples') @given('I have apples') def given_i_have_apples(count=1): return count ``` The step `Given I have 5 apples` will always return 1. Is there no way...

is there away to use async step definitions with pytest-bdd ? For a step definition like: ``` @when('i send cucumbers ') async def i_send_cucumbers(loop): pass ``` I see the warning:...

Hi! I would like to report an issue in pytest-bdd: pytest-bdd 3.2.1 pytest 5.4.1 Python 3.7.5 When executing tests in parallel threads, for example using using threads pytest-parallel, a race...

GOTO URL: https://drive.google.com/drive/folders/1v3NOtvPeJm32QDrHnoCxKosgWjRUiTxD?usp=sharing 0. download the folder 1. Update the chrome driver as your browser and OS in the project dir 2. come to feature file 3. let it run...

Fixes #311 In general, I tried to treat scenario descriptions exactly the same way as feature descriptions are currently treated. I'm not sure to what extent feature descriptions are used...