This little repository could be very useful because it's not easy to understand from pytest-bdd docs how to wire things together. Unfortunately it caused me much confusion because it is out of sync with pytest-bdd. After much confusion I found this paragraph which explains why nothing worked: scenario is only a decorator now.
On a related note, I spent one afternoon to get a minimal example using the combination django + pytest-django + pytest-bdd + pytest-splinter. It's not that complicated in the end but can't easily be inferred from the official docs of all these packages. I could try to build a repository like the present one but it would be hard to find and, as the above paragraph proves, it would probably be quickly out of sync. Both problems could be solved by integrating it to the documentation of pytest-bdd or pytest-django or both. What do you think?
This little repository could be very useful because it's not easy to understand from pytest-bdd docs how to wire things together. Unfortunately it caused me much confusion because it is out of sync with pytest-bdd. After much confusion I found this paragraph which explains why nothing worked:
scenario
is only a decorator now.On a related note, I spent one afternoon to get a minimal example using the combination django + pytest-django + pytest-bdd + pytest-splinter. It's not that complicated in the end but can't easily be inferred from the official docs of all these packages. I could try to build a repository like the present one but it would be hard to find and, as the above paragraph proves, it would probably be quickly out of sync. Both problems could be solved by integrating it to the documentation of pytest-bdd or pytest-django or both. What do you think?