How do you enable code coverage? #125
Replies: 4 comments 4 replies
-
The PHP.ini file is located in the Application Support dir. |
Beta Was this translation helpful? Give feedback.
-
What worked for me (Herd Pro) was moving xdebug config in the main php.ini. With that, coverage works. |
Beta Was this translation helpful? Give feedback.
-
I had similar issue and solved it, I used pcov instead of xdebug. It seems lightweight to me. |
Beta Was this translation helpful? Give feedback.
-
Ran into this discussion, it's implemented in Herd now: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How do you enable code coverage?
In my Herd php.ini
xdebug.mode=coverage
is enabled. But if I run my tests with the --coverage flag I'm receiving an error.Beta Was this translation helpful? Give feedback.
All reactions