[New-bugs-announce] [issue15974] Optional compact and colored output for regrest

Brett Cannon report at bugs.python.org
Wed Sep 19 20:05:38 CEST 2012

New submission from Brett Cannon:

It would be nice to have something like sphinx's build output where the output is all kept on a single line except for failures.

The color would help when scrolling through current output looking for failures. Currently I just look until the failure count switches, but I can spot color more quickly and easily.

The reason for the compact output is that I simply don't typically care about passed tests, so why keep it visible? It also helps with noticing tests failures if those are the only tests that are kept in the terminal while the suite is running (obviously the output summary is still there).

This also suggests having an option to write out to a file the test results to make it easier to see the exact test execution order (and if passed tests are commented out then it's easier to pass the file to --fromfile to re-run the fail tests).

components: Tests
messages: 170733
nosy: brett.cannon
priority: low
severity: normal
stage: needs patch
status: open
title: Optional compact and colored output for regrest
type: enhancement
versions: Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list