Thx to a coworder, TIL about "pytest --lf" which means "last-fail" and will replay the last failing test first.
Great for super long test suite.
@bram I often use --sw (aka --stepwise): same -x but restart from there on next call. Very handy for refactoring sessions.
@david it's a bit like --lf and -x? I'm not sure
This is a mastodon instance for social justice activists, LGBTQIA+ people, and activists in general