-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"--coverage-text" CLI option is documented wrong #4590
Labels
Comments
mvorisek
changed the title
--coverage-text <file>
"--coverage-text" option does not work correctly with "<file>" option set
Jan 23, 2021
sebastianbergmann
changed the title
"--coverage-text" option does not work correctly with "<file>" option set
"--coverage-text" CLI option is documented wrong
Jan 24, 2021
This was a documentation issue. You need to use |
Thanks - other options remain without |
|
This was referenced Mar 12, 2021
Closed
This was referenced Mar 18, 2021
composer(deps-dev): update phpunit/phpunit requirement from ^9.5.2 to ^9.5.3
codedge/laravel-fpdf#78
Merged
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
--coverage-text <file>
as per https://phpunit.readthedocs.io/en/9.5/textui.html should accept<file>
. But when<file>
is set, phpunit fails.Other formats work well with
<file>
option set.Current behavior
How to reproduce
phpunit --coverage-text "/builds/coverage_phpunit.txt"
Expected behavior
phpunit does not fail with
Cannot open file "/builds/coverage_phpunit.txt"
message and coverage text output is saved to the given file.The text was updated successfully, but these errors were encountered: