-
Notifications
You must be signed in to change notification settings - Fork 51
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
Unable to run Dartium coverage on OS X? #38
Comments
|
What do you expect to happen? |
Chromium doesn't seem to be receiving the --remote-debugging-port=8050 argument and so it doesn't ever connect with the coverage server, so I don't get anything in my output coverage.json. |
Have you tried the other way around - starting Chromium and only afterwards starting coverage? |
Yes, same result |
I have no problems running coverage using the command line VM but when I try to launch Dartium and then navigate to my test runner, it doesn't generate coverage. However, if I open a browser tab with localhost:8050 it definitely loads up the remote debugging interface, so I'm not sure what is going wrong here. |
It turns out due to using IntelliJ there was an extension conflict, so using --disable-extensions resolved the issue for me. |
I am maybe missing something but it appears that you can't actually run Dartium coverage from OS X. Homebrew-installed dartium is actually just a bash script:
so the flag --remote-debugging-port=NNNN is not passed in. Trying to open the executable directly, the flag doesn't seem to have any effect:
Is there some other way to run coverage thru Dartium? The majority of this project's tests depend on dart:html so we can't run coverage without running in Dartium.
The text was updated successfully, but these errors were encountered: