Loop on fail should continue running next tests

Issue #24 new
Benjamin Peterson created an issue

When a previously failing test succeeds in --looponfail, py.test starts rerunning the tests from the beginning. It would be nice if it continued running the tests after the last failure, since the ones before it are already fixed! :)

Comments (6)

  1. Holger Krekel repo owner

    Hum, are you using "py.test -x -f" actually? Because just py.test -f does reduce the failing test set until all pass so does what you want.

    on a side note it seems like people have different ideas on how looponfailing should actually loop. So probably should become more configurable.

  2. Log in to comment