Print failure/error tracebacks on early exit (Ctrl-c)
Bug #1179542 reported by
Simon Davy
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
To post a comment you must log in.
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.