Pytest and behave two separate test runners.
There is a pytest plugin for testing behavior that also uses Gherkin as DSL, but the steps use syntax different from the behavior of behave, so I donβt think you can directly run the steps you created with it.
jgiralt
source share