Print failure/error tracebacks on early exit (Ctrl-c)

Bug #1179542 reported by Simon Davy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
selenium-simple-test
Confirmed
High
Unassigned

Bug Description

The unittest runner will print the tracebacks of any failures/errors if you Ctrl-C a test run. This is really useful as you can bail early when everything is failing.

This would be even more useful in SST, when suites can take a long time to run.

A related option to this is the --failfast idea, that will abort on the first error/failure. That would also fulfill 90% of the usefulness of this feature, IMO

Revision history for this message
Vincent Ladeuil (vila) wrote :

sst-run already provides --failfast.

Recent version also provide --includes <prefix> and --excludes <prefix> which could be used to focus the test run on the tests you care about (by running only the test starting with one the included prefixes and not starting with any of the excluded prefixes).

That being said, sst-run should indeed reports errors and failures if interrupted.

Changed in selenium-simple-test:
importance: Undecided → High
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.