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
is it possible remove the output for every class on the coverage option if you add a --no-class-output option to the coverage command or maybe the other coverage options (for example --coverage-html) removes the terminal printing on its own because the output will be printed in another file (html in the example case).
The printing for a huge test coverage (20000 tests with almost 2000 classes) is using a lot of time and sometimes the terminal crashes because of the buffered output.
I would provide a PR but I couldn't figure out how PEST is using the options :-(
I would add here:
I don't know if the coverage result printing (without single classes) uses a lot of time. If not maybe this can only be printed instead of every single class and its coverage.
A similar request was discussed for type-coverage here: #1183
How to Reproduce
It is quite hard to reproduce because you need a huge test suite.
Sample Repository
No response
Pest Version
3.7.1
PHP Version
8.3.15
Operation System
Windows
Notes
I'm using Powershell 7 and the new PHPStorm terminal option.
The text was updated successfully, but these errors were encountered:
What Happened
Hello,
is it possible remove the output for every class on the coverage option if you add a
--no-class-output
option to the coverage command or maybe the other coverage options (for example--coverage-html
) removes the terminal printing on its own because the output will be printed in another file (html in the example case).The printing for a huge test coverage (20000 tests with almost 2000 classes) is using a lot of time and sometimes the terminal crashes because of the buffered output.
I would provide a PR but I couldn't figure out how PEST is using the options :-(
I would add here:
pest/src/Plugins/Coverage.php
Line 146 in 150bb94
I don't know if the coverage result printing (without single classes) uses a lot of time. If not maybe this can only be printed instead of every single class and its coverage.
A similar request was discussed for type-coverage here:
#1183
How to Reproduce
It is quite hard to reproduce because you need a huge test suite.
Sample Repository
No response
Pest Version
3.7.1
PHP Version
8.3.15
Operation System
Windows
Notes
I'm using Powershell 7 and the new PHPStorm terminal option.
The text was updated successfully, but these errors were encountered: