_As a_ developer of slower integration tests
_I want to_ see prettified tests results as soon as tests are completed
_so that_ my workflow is both agile and 忙sthetic
The buffering testdox printer and its friend the spinner are breaking some workflows that people used to good effect.
The example from #3560 is using Testdox to get readable results while running. The actual test order is not that important, set by configuration or implied by test collection structure. My implementation of the buffering printer breaks this specific use case.
Implement explicit "do not buffer result ouput" option, along the lines of #3513:
--enable-buffer and --disable-buffer flagThis would be a lot simpler if the buffering were done in a decorator.
By default you apply the decorator when the tests are shuffled, unless the CLI/config indicates it shouldn't.
This has the added benefit that the decorator could decorate _any_ result printer, not just the TestDox printer. This may not be interesting for PHPUnit itself, but it might be for third party printers.
I wouldn't mind taking a stab at this if you'd like.
Any new about this issue @epdenouden ?
Yes, this issue is on hold until the new event system is ready.
Back then I did some experiments and it ended up about as hacky as the TestDox internals.
I see the issue is still marked as blocked, are there any news about the new event system?
@m4rw3r The event system is still under development. @localheinz and @theseer are working on the central parts. As soon as those are (pre-release) stable I can migrate the logging and execution reordering.
Also, this is under active development again as I want more logging options while working on #4302 and adjacent refactorings.

Most helpful comment
Yes, this issue is on hold until the new event system is ready.
Back then I did some experiments and it ended up about as hacky as the TestDox internals.