Open bert-w opened 1 month ago
There appears to be some inconsistencies when using --parallel:
--parallel
--colors=never
--coverage-text
--coverage-text=output.txt
This outputs WITH colors (incorrect) and WITH coverage text (correct):
vendor/bin/pest --parallel --colors=never --coverage-text
This outputs WITHOUT colors (correct) and WITHOUT coverage text (incorrect):
vendor/bin/pest --colors=never --coverage-text
See screenshot:
The code coverage report should always work and have the same output in both commands, being in stdout:
Code Coverage Report: 2024-09-16 18:47:59 Summary: Classes: 0.00% (0/419) Methods: 0.00% (0/1734) Lines: 0.00% (0/12906)
No response
2.35.1 (Same issue in 3.x)
8.2
Linux
Seems my report in https://github.com/pestphp/pest/issues/1206 seems to be similar (but not the same) to this report. As this is also about using --parallel and another cli option.
What Happened
There appears to be some inconsistencies when using
--parallel
:--colors=never
option is being disregarded--coverage-text
is disregarded--coverage-text=output.txt
, it DOES seem to write the correct output format in this fileHow to Reproduce
This outputs WITH colors (incorrect) and WITH coverage text (correct):
This outputs WITHOUT colors (correct) and WITHOUT coverage text (incorrect):
See screenshot:
The code coverage report should always work and have the same output in both commands, being in stdout:
Sample Repository
No response
Pest Version
2.35.1 (Same issue in 3.x)
PHP Version
8.2
Operation System
Linux
Notes
No response