pytest-dev / pytest-bdd

BDD library for the py.test runner
https://pytest-bdd.readthedocs.io/en/latest/
MIT License
1.3k stars 219 forks source link

Steps which names start with `test*` are treated as tests and started during test execution #303

Open sliwinski-milosz opened 5 years ago

sliwinski-milosz commented 5 years ago

This happened for pytest-bdd test steps. They have been renamed to avoid that: https://github.com/pytest-dev/pytest-bdd/pull/292

youtux commented 5 years ago

Fixed by #292

sliwinski-milosz commented 5 years ago

We renamed pytest-bdd steps in tests to make them pass but the issue itself hasn't been fixed.

So still if steps names will start with test*, they are treated as tests.

youtux commented 5 years ago

Pfff sorry brain fart. Reopening the issue.