no option to exit on first failure (ie --stop like nosetests)

Bug #1211926 reported by alexius ludeman on 2013-08-13
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

can you please add an option on exiting upon first failure? (ie nosetest --stop)


Robert Collins (lifeless) wrote :

testr can't support --stop in the same way as nose because it's a meta-runner, not a runner. However, like, like unittest supports --failfast (or -f).

testr run -- -f
will run single-worker and cause that worker to stop one a single failure occurs.

I'm very open to the idea of cancelling other workers once a failure is detected in parallel mode, if someone wants to work on a patch.

Changed in testrepository:
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers