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
When the vendor directory is not writable by the user executing pest, coverage fails to generate with the confusing message:
WARN Unable to get coverage using Xdebug. Did you set Xdebug's coverage mode?
In my case, Xdebug was correctly configured, just vendor/pestphp/pest/.temp was not writable. So I spent a lot of time looking in the wrong location for the issue.
What Happened
When the
vendor
directory is not writable by the user executingpest
, coverage fails to generate with the confusing message:In my case, Xdebug was correctly configured, just
vendor/pestphp/pest/.temp
was not writable. So I spent a lot of time looking in the wrong location for the issue.How to Reproduce
Sample Repository
No response
Pest Version
2.34.7
PHP Version
8.1.14
Operation System
Linux
Notes
I was executing tests within a docker container.
The text was updated successfully, but these errors were encountered: