Currently, after pytest --last-failed has succeded, i.e., all last failed tests pass again, the whole suite is run again, including the ones that were already run.
If possible, these tests should be excluded from the full run afterwards, such that in any run, each test is run at most once.
I would actually like an option to disable the subsequent run to occur. if --lf succeeds, then I can assume that the whole suite is passing. Running it again wastes my CI minutes
Currently, after
pytest --last-failed
has succeded, i.e., all last failed tests pass again, the whole suite is run again, including the ones that were already run.If possible, these tests should be excluded from the full run afterwards, such that in any run, each test is run at most once.