pytest-bdd
pytest-bdd copied to clipboard
BDD library for the py.test runner
closes #447
Hello, I am using the Gherkin tags in the feature specification to refer scenarios to different software requirements and it would be really convenient to be able to get those...
Fixes #150 and helps mitigating the effects of #157 The goal is to allow data tables attached to steps as described in https://cucumber.io/docs/reference#data-tables. This has nothing to do with example...
Is there a way to execute pytest-bdd scenario only if previous scenario passed and skip execution if previous scenario failed. For example: I have 2 pytest-bdd scenarios (Scn A and...
Hey Guys, I have a step in scenario outline: ``` Given something When thing is moved to position Then something else ``` ``` Examples: |thing|position| |1 |1 | ``` In...
Is there any way to execute pytest-bdd scenarios in specific order. I tried with tags @pytest.mark.order(1) @pytest.mark.order(2). It is not following the order specified.
When I have `foo.feature`: ``` python Feature: Test @tag1 @tag2 Scenario: Test When foo Then bar ``` and `foo.py`: ``` python from pytest_bdd import scenarios, when, then @when('foo') def when_foo():...
I currently using this awesome library. And I want to say thank you. But I was confused when I started to work with `pytest-bdd`. It is unclear that you should...
This is a bit of a strange one, in that it’s hard to reproduce. I’m the maintainer of the `python-pytest-bdd` package in Fedora Linux, and I’m seeing a test failure...
See https://github.com/pytest-dev/pytest-bdd/issues/390 for a description of the error to which this is a fix.