Skip to content
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

PCOV and Webdriver #52

Open
alb3ric opened this issue Jul 20, 2020 · 1 comment
Open

PCOV and Webdriver #52

alb3ric opened this issue Jul 20, 2020 · 1 comment

Comments

@alb3ric
Copy link

alb3ric commented Jul 20, 2020

Hello,

I have a project with phpunit 6.5. I'm using the Krakjoe/pcov driver (pcov clobber).
Everything work fine except for tests running with php-webdriver/webdriver.

Am I missing something ? When I was using xdebug code coverage I had to prepend code in the htaccess, I thought I didn't had to do so with PCOV but maybe I'm wrong.

Thanks in advance for your help

Best regards

@hctom
Copy link

hctom commented Mar 27, 2021

I can confirm I have similar issues. I am running PHPUnit tests with chromium-webdriver. Everything works fine when using Xdebug for code coverage, but as soon as I switch over to PCOV, the webdriver connection fails with: Could not open connection: unknown error: DevToolsActivePort file doesn't exist.

So is there something we have to change to get PCOV working with a webdriver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants