On Jan 13, 2008, at 9:17 AM, Michael G Schwern wrote:
Matisse Enzer wrote:
On Jan 12, 2008, at 10:24 PM, Michael G Schwern wrote:
Matisse Enzer wrote:
I just want to be able to run a test suite with a switch that
makes the
entire test run stop after the first failure is reported.
Ok, it's nice to want things, but why do you want it?
Almost entirely because when I'm developing on a code base with a
large
test suite I often want to stop the test run as fast as possible
when a
failure occurs - currently I do a control-C but would prefer if I
could
use a switch when I run the tests to have it just stop right after
the
first failure.
Ok, why do you want to stop it as fast as possible when a failure
occurs?
So I can more quickly focus on fixing that first test failure.
If you are going to suggest some other workflow for developing -
looking at all the failures to see where the root problem is, that's
fine, and I often do that too. Sometimes though I just want to
immediately focus on the first test failure, mainly when I am doing
test-first development and the test suite takes more than a few
seconds to run to completion.
-M
-------------------------------------------------------
Matisse Enzer <[EMAIL PROTECTED]>
http://www.matisse.net/ - http://www.eigenstate.net/