Oleg Pidsadnyi

Results 36 comments of Oleg Pidsadnyi

You may want to read the pytest best practices https://docs.pytest.org/en/latest/goodpractices.html

1. You map scenarios from your test files. This is concios decision so that you can even include the same feature file in the totally different place and setup. 2....

I hope so. You can include a specific scenario from the feature file, that you specify yourself. Or all the scenarios from the specified feature file. And (if I'm not...

I think you need to create a test_X.py file(or files) on the same level as your step_defs and include the scenarios there.

You can use one test file as an entry point: test_my_project.py scenarios() I'm often creating a test file per .feature file for the fine-grain control. If you want run a...

Yes, please read https://docs.pytest.org/en/latest/goodpractices.html where it explains the scope of the fixture. You define steps somewhere globally and include them in your root level conftest.py If you need to override...

@dcendents The example values are no longer fixtures. Is it still a case with the latest version?

> Parsed parameters are injected as fixtures and overwrite elder ones: > > https://github.com/pytest-dev/pytest-bdd/blob/f4ed62dcb401cd34b40b81af8ef2c08881354095/pytest_bdd/scenario.py#L54 ouch. i thought it was already undone. then we have to address it. There's no reason...

@stevelacey it is more like what kind of base factory are you using, right? What kind of ORM is it in your case. I guess there's a difference between build...

Review status: 0 of 6 files reviewed at latest revision, 7 unresolved discussions. --- _[pytest_bdd/feature.py, line 162 [r1]](https://reviewable.io:443/reviews/pytest-dev/pytest-bdd/180#-KFmpaqL21SRMFVx8vtT:-KFmpaqL21SRMFVx8vtU:-1346467394) ([raw file](https://github.com/pytest-dev/pytest-bdd/blob/7e7e9a7e7cacdf879a6d8d43f083bfe0ca585087/pytest_bdd/feature.py#L162)):_ Imperative e.g. "detect" --- _[pytest_bdd/feature.py, line 173 [r1]](https://reviewable.io:443/reviews/pytest-dev/pytest-bdd/180#-KFmpjFL6Qg3Uk5EcL7S:-KFmpjFL6Qg3Uk5EcL7T:999810845) ([raw file](https://github.com/pytest-dev/pytest-bdd/blob/7e7e9a7e7cacdf879a6d8d43f083bfe0ca585087/pytest_bdd/feature.py#L173)):_...