[py-dev] Running only previously failing tests
holger krekel
hpk at trillke.net
Mon Jul 18 19:54:33 CEST 2005
Hi Grig!
On Mon, Jul 18, 2005 at 10:33 -0700, Grig Gheorghiu wrote:
> I thought this was possible via 'py.test --session=terminal' for
> example, but when I do that all the tests are run, not only the ones
> that were previously failing. Am I doing something wrong?
Only the '--looponfailing' option does what you want. It keeps
the frontend process looping and waiting for file changes
in the project. On such changes the failing tests are re-run
in a second process. The backend process reports to the
frontend process the set of failing tests so that they
can be memorized by the frontend process.
cheers,
holger
More information about the py-dev
mailing list