You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, currently it's not possible.
We could have a config option that defines the default parser in case a bare string is passed to @given(...).
Feel free to contribute!
Is it currently possible to set a default parser?
ie
Instead of writing:
@given(parsers.parse("the animal is {name}")
I want to configure parser.parse as the default (perhaps in pytest.ini) so i can then write:
@given("the animal is {name}")
Reason: Clearer decorators
The text was updated successfully, but these errors were encountered: