You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since PHPUnit 8 I have pages of "running tests ◓" (introduced by #3497) with the testdox option on my CI (it does support ANSI codes but it cannot clear all output). Could we have an option to disable the spinner (eg. --no-progress) or to detect if the output support it ? I want to keep the colors.
The current workaround is to extends CliTestDoxPrinter.php.
Thanks in advance
The text was updated successfully, but these errors were encountered:
@BafS Of course! The spinner should never get in your way. I will gladly make it more optional, I will start working on a config option and get a pull request tomorrow.
Question: what type of terminal/$TERM does this happen in and what CLI-options or phpunit.xml flags do you use? I'm guessing the terminal supports color but not all rendering or interactive features.
Thank you for taking the time to file an issue about this, by the way. Good to have it fixed.
The "problem" is just that it outputs the stream directly without clearing anything. It's not an interactive terminal when you run the tests but more an STDOUT stream.
I simply use --testdox --no-cover and the xml options are
Since PHPUnit 8 I have pages of "running tests ◓" (introduced by #3497) with the testdox option on my CI (it does support ANSI codes but it cannot clear all output). Could we have an option to disable the spinner (eg.
--no-progress
) or to detect if the output support it ? I want to keep the colors.The current workaround is to extends CliTestDoxPrinter.php.
Thanks in advance
The text was updated successfully, but these errors were encountered: