[issue15974] Optional compact and colored output for regrest
Changes by Antoine Pitrou pit...@free.fr: -- dependencies: -move regrtest over to using more unittest infrastructure resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15974] Optional compact and colored output for regrest
Changes by Brett Cannon br...@python.org: -- superseder: - Optional compact and colored output for regrest ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15974] Optional compact and colored output for regrest
Changes by Florent Xicluna florent.xicl...@gmail.com: -- superseder: Optional compact and colored output for regrest - Compact output for regrtest ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15974] Optional compact and colored output for regrest
Mark Lawrence added the comment: What's the difference between this and #17554? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15974] Optional compact and colored output for regrest
Brett Cannon added the comment: Clang's test runner output is really nice; green-coloured progress bar on one line, next line listing what is executing. Eventual output listing details of the run (e.g. counts of what was run, expected failures, etc.). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15974] Optional compact and colored output for regrest
Terry J. Reedy added the comment: Great idea. By default, the windows console keeps fewer lines of output than regrtest generates, which means that earlier errors are gone before it finishes. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15974] Optional compact and colored output for regrest
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 rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15974] Optional compact and colored output for regrest
Ezio Melotti added the comment: 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. +1 I wanted the exact same thing for a long time but never had time to look at it. OTOH the more features are added to regrtest, the more complex it gets, and it's already fairly complex as it is. A better option might be to create a new unittest test runner, and then start switching regrtest to use more unittest bits (see #10967). That should allow us to select the runner we prefer, and that can also be available for regular unittests (there might even be something already). -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15974] Optional compact and colored output for regrest
Antoine Pitrou added the comment: I also think it would be better to refactor regrtest before adding this kind of complication. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15974] Optional compact and colored output for regrest
Brett Cannon added the comment: I totally agree, I just wanted this in the tracker as a long-term goal to have. I have made this a dependency on issue #10967 which is tracking moving regrtest over unittest as much as possible. -- dependencies: +move regrtest over to using more unittest infrastructure ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15974 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com