pytest-bdd
pytest-bdd copied to clipboard
BDD library for the py.test runner
1. put common steps out of feature step_def file for re-usability purposes 2. run tests Result: step definitions are not found. IDE (like Pycharm) has no problem to localize these...
The documentation of pytest-bdd states that "Gherkin scenario outlines are supported by pytest-bdd exactly as it's described in be behave docs". However, there is one situation in which the support...
I know the current recommended method for handling multi-line steps is to just capture everything after the first line with a \n argument. but Gherkin has its own syntax for...
I met error below when I added `pytest-pylint` plugin along with `pytest-bdd`. ``` $ python -m pytest --pylint ===================== test session starts ======================================== platform linux -- Python 3.7.3, pytest-5.4.3, py-1.8.2,...
Fixes #214 --- This change is [](https://reviewable.io/reviews/pytest-dev/pytest-bdd/248)
My Scenario is parameterized and I want to select the parameter value from EXCEL. I want to select sheets in the excel based on environment provided **qa,uat,prod** .Is there any...
Scenario outline has multiple example tables with env1,env2,2nv3 etc. Is there any way to collect only Examples: env1 out of other Examples when user passes the argument env1. Basically the...
I have bdd tests and trying to use `pytest --testmon` from https://pypi.org/project/pytest-testmon/ But it fails with ``` ❯ pytest --testmon Exit: The stored data file /home/noor/src/src/py/divisible/yolo/.testmondata version (4) is not...
Could you implement embedding possibility of made screenshot into cucumber json report when scenario step failed?
When calling `pytest --help` I get the following backtrace: ``` noes-MBP:... noe$ pytest --help Traceback (most recent call last): File "/Users/noe/.pyenv/versions/.../bin/pytest", line 10, in sys.exit(main()) File "/Users/noe/.pyenv/versions/3.7.3/envs/.../lib/python3.7/site-packages/_pytest/config/__init__.py", line 59, in...