pytest-bdd icon indicating copy to clipboard operation
pytest-bdd copied to clipboard

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

Open sliwinski-milosz opened this issue 5 years ago • 3 comments

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

sliwinski-milosz avatar May 28 '19 14:05 sliwinski-milosz

Fixed by #292

youtux avatar Jul 05 '19 08:07 youtux

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.

sliwinski-milosz avatar Jul 05 '19 08:07 sliwinski-milosz

Pfff sorry brain fart. Reopening the issue.

youtux avatar Jul 05 '19 11:07 youtux