running counter of test results at -2 #12800
Labels
topic: reporting
related to terminal output and user-facing messages and errors
type: proposal
proposal for a new feature, often to gather opinions or design the API around the new feature
Currently, at both -1 and -2 the test cases reporting uses the "sea of dots".
For test suites which are both very large and relatively slow, this representation is not really helpful as counting dozens of dots is difficult, and the only easy to understand progress reporting is at end of line.
The "default" progress reporting yields a more precise view as it checkpoints the percentage every file, but that's at the cost of enormous amounts of space if the suite uses a large number of files (which is a good reason to use the dots).
I would propose an alternative representation, which is a lot terser and easier to track for slow test suites (though not necessarily for very small or fast ones): display a running counter in the same format as the summary stats line (maybe with the number of selected tests added) as the sole tally line e.g.
which on the next test would become
and on failure
This provides for a much improved "at a glance" summary when running tests interactively.
The text was updated successfully, but these errors were encountered: