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
Add PCOV support #396
Add PCOV support #396
Conversation
@trejjam Great PR! But I have to check, why I get 0% coverage with it :) |
You should write more tests :) |
To make it work, I needed to configure application path in pcov.directory for my environment (probably because my test entrypoint is in different file subtree then application - which is out of scope in default/auto configuration) |
The The
|
With #400 there is easy to detect PCOV and set |
Btw. if theoretically, all code coverage engines (PHPDBG, PCOV, Xdebug) are present, which one would you prefer? |
I see more points of view:
I will prefer a fixed order of engines. For me is not important coverage value itself but changes of coverage through time. Using the same engine every time is good enough for me. |
eaaeb7b
to
7184606
Compare
ee525b7
to
6ca248e
Compare
Merged, thank you! The reasons for preferred code coverage engines are:
|
Hello,
I met an announcement about PHPUnit 8 support PCOV which should be really fast in comparison to other code coverage possibilities, e.g. https://twitter.com/kornrunner/status/1091381371447230464, https://twitter.com/RemiCollet/status/1091336903423594496, etc.
This PR adds support for it.