pytest-dev / pytest-bdd

BDD library for the pytest runner
https://pytest-bdd.readthedocs.io/en/latest/
MIT License
1.31k stars 220 forks source link

pytest-bdd -> py.test || py.test-bdd? #94

Closed spinus closed 9 years ago

spinus commented 9 years ago

I'm not sure but probably pytest command is somehow not used (legacy?). Pytest is using now py.test as entrypoint. I think pytest-bdd could use plugins to integrate with py.test (like other plugins do) and then to run the test only py.test command would be needed. I only assume that output plugin has to be changed to what pytest-bdd is using right now, but I didn't look is it hard or not, just an idea.

If it would be not easy/not needed change, still maybe would be better to follow pytest and use something like py.test-bdd?

bubenkoff commented 9 years ago

just to be sure what you mean... we never mentioned pytest command to use anywhere in the documentation, right? pytest-bdd command is only used for code generation, and you mean that it looks a bit strange that it's there and we don't use just py.test. Correct?

spinus commented 9 years ago

Mea culpa :-) I installed pytest-bdd and when I was typing autosuggester showed me pytest-bdd and for some reason I assumed this is way to go. Sorry, probably this issue is invalid then.

bubenkoff commented 9 years ago

please close it then :)

spinus commented 9 years ago

Closed as invalid.