pytest-bdd
pytest-bdd copied to clipboard
BDD library for the py.test runner
Lately I've been using example mapping to write my scenarios. Is there any support forecast for gherkin v6? Gherkin reference: https://cucumber.io/docs/gherkin/reference/ Example mapping: https://cucumber.io/blog/bdd/example-mapping-introduction/
Hello, First I would like to thank all the maintainers for working on this project, it has been very helpful for our organization, thank you. I am playing with adding...
The current template generates a test item for each scenario. We should just use the `scenarios` shortcut instead.
Raise only warning for following feature: ``` Feature: Description In order to achieve something I want something Because it will be cool Given it is valid description When it starts...
**Problem** Then in our integration tests _given_ or _when_ step do some stuff that return data needed in the next step > for example > _given_ add some to database...
Basically the scenario below passes when it should fail. Scenario: Richard Experiment 12 bad/passes And we shall fail I know its weird for a scenario to start with an "And"...
I have given the code like this but it's not working, your response would be more helpful. Feature: login feature Scenario Outline: login with valid credentials Given login with valid...
Is there an interest in switching to the official Gherkin parser: https://github.com/cucumber/cucumber/tree/master/gherkin/python? I would be willing to prepare a PR. Cheers!
How to get the pytest-bdd callbacks I tried the following implementation(,but the callback is NOT called): ``` python import pytest @pytest.mark.tryfirst def pytest_bdd_after_scenario(request, feature, scenario): print("After scenario") ``` The complete...
The current parser deserves a rewrite, so that we can easily expand it and test it. TODOs: - [ ] Get test suite to succeed - [ ] Convert tests...