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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, according to the documentation, we could use custom marker with keyword argument, like
@pytest.mark.unit(state='new')
will be executedas
$ pytest -v -m "unit(state='new')"
I'm using playwright pytest run configuration and executing the custom marker (from pycharm) with:
-m=unit
But don't know how should I add the param to the argument when only would like to execute unit mark where state=new
I also tried
@pytest.mark.unit('new')
executed
-m=unit -k=new
but didn't work.
Update: possible that documentation contains examples from upcoming version? Found this commit to 8.4.0 #12500
Thanks
Beta Was this translation helpful? Give feedback.
All reactions