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
Right now, passing --exitfirst / -x will rerun twice.
Better: --reruns-on-exitfirst 0
This way, the user can set the reruns with exitfirst is used so it instantly errors. It preserves the default behavior.
--exitfirst's docs:
-x, --exitfirst Exit instantly on first error or failed test
The text was updated successfully, but these errors were encountered:
tony
changed the title
[RFC] Support --exitfirst / -x (behave like --reruns 0)
[RFC] --reruns-on-exitfirst: set reruns with --exitfirst / -xFeb 15, 2024
Assume
pyproject.toml
:Current behavior
Right now, passing
--exitfirst
/-x
will rerun twice.Better:
--reruns-on-exitfirst 0
This way, the user can set the reruns with
exitfirst
is used so it instantly errors. It preserves the default behavior.--exitfirst
's docs:The text was updated successfully, but these errors were encountered: