pytest-bdd
pytest-bdd copied to clipboard
BDD library for the py.test runner
In case there are steps with similar test definition's expression the wrong one is being picked up and executed. Scenario: sample_scenario.feature: ``` Feature: Sample steps check Scenario: Sample steps check...
Add a extra hook to mark steps as skipped, which will allow to distinguish if a step is skipped or not and therefor the output colouring could be done properly....
It seems that pytest-bdd is not able to decorate a single fixture with two or more given decorations like that: - I am in the {page_id} page logged in with...
Hi, I have noticed unexpected behavior when using scenario outline. Here's a simple example to demonstrate it: File `test.scenario`: ``` Feature: Test feature Scenario Outline: Scenario 1 When Action "A"...
Hi, I'm developing, using pytest_bdd and selenium, some tests on a web application, what I would like to do is that, on step failure, current instance of driver (implemented by...
hi, It would be awesome if someone could add support for flaky: https://pypi.org/project/flaky/ I have 2,3 random failures that are impossible to fix and flaky would be great Thx, Dan
Cucumber, Behave, and other BDD tools allow you to write your feature files in just about whatever language you want. It would be really handy to have the ability to...
When I have Feature file like: ```gherkin Feature: Foo Background: Given Step @cool_background_tag Examples: |bar| | 10| @nice_background_tag Examples: |bar| | 45| Scenario Outline: Fizz Given Step @bad_scenario_tag Examples: |buzz|...
Can you please help/guide me to know how will the pytest-bdd report produce an output in summary(similar to or like in cucumber). The main info I am looking for is...
Given structure: tests_ ---- |- a_step_defs ----------|- test_using_first.py ----------|- conftest.py ---- |- b_step_defs ----------|- test_using_second.py ----------|- conftest.py When I have `pytest_bdd_after_step()` in both `conftest.py` And I execute feature file that...