pytest-stepwise icon indicating copy to clipboard operation
pytest-stepwise copied to clipboard

Make it possible to step-wisely run the last failed tests

Open pelme opened this issue 8 years ago • 0 comments

If I run a lot of tests like

$ pytest
... lots of output
4 failed, 2871 passed in 37.32 seconds

it would be nice if stepwise noted the 4 failures and made it possible to just start with these:

$ pytest --sw  # Run the 4 last failures

I.e. stepwise could record failures from any test run (not just with --sw) and just re-run those until all tests pass.

pelme avatar Feb 15 '17 10:02 pelme