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

Using the current `master`, 30ba3f7ba151768f227613eb2a186d4bc5c262aa: ``` $ python3.13 --version Python 3.13.0a1 $ tox -e py3.13 […] ====================================== FAILURES ======================================= ________________________________ test_generate_missing ________________________________ pytester = def test_generate_missing(pytester): """Test generate missing command."""...

Generate in powershell with: with: pytest-bdd generate features/installer.feature > installer_step_definitions/test_installer_steps.py Run with: pytest OBS: During test collection error occurs as below. The same file `test_installer_steps.py` created in VS code and...

awaiting response

Can anyone please help me with this question? Number displayed after the fruit/vegetable is how many times I have to select it. Scenario outline: When User selects And User selects...

Hi there, (again a repeated thanks for this killer project. It has been fun to work with and really adds a lot to my project.) When I was getting started...

enhancement

I am not the only one struggling with it. Here is Stackoverflow [discussion](https://stackoverflow.com/questions/54751475/how-to-run-a-pytest-bdd-test) started almost five years ago and still haven't solved.

@given("test generated fixture") def test_generated_fixture(normal_fixture, generated_fixture): print(fixture) print(generated_fixture) return 1 @pytest.fixture def normal_fixture(): return 1 # defined pytest_generated_tests in conftest.py def pytest_generate_tests(metafunc): if "generated_fixture" in metafunc.fixturenames: metafunc.parametrize("generated_fixture", [1, 2, 3])...

I am trying to use parameterized fixture in my pytest-bdd framework. Normal fixture works fine. But If I am passing parameters, it gives below error ""The requested fixture has no...

question

The gherkin terminal reporter doesn't color the steps correctly. Let's say I have the following feature with a broken step: ``` Scenario: Publishing the article Given I'm an author user...