-
Notifications
You must be signed in to change notification settings - Fork 40
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
CP-3228 Use test runner when collecting coverage #200
Comments
Awesome! Thanks for the heads up @greglittlefield-wf. I'll try to roll this in to V2 with the rewrite of the coverage task. |
This also prevents us from using test tags, which seem to be the most promising way so far to run certain tests conditionally based on whether you're in the DDC: dart-lang/test#652 |
@greglittlefield-wf could you clarify this part: |
@maxwellpeterson-wf I think when I created this issue, it seemed possible to be able to hook coverage and the test runner together with some observatory/isolate magic. However, based on this comment in that issue I linked: dart-lang/test#36 (comment)
it seems like it's probably best to rely on changes in |
Coverage collection through the test runner is in progress, so this should no longer need to be a ddev concern. |
When running tests coverage, platform selectors don't work as expected since the
test
runner isn't being used.E.g., tests with
testOn: !content-shell
still run during coverage.Now that dart-lang/test#36 isn't blocked, this should be possible.
The text was updated successfully, but these errors were encountered: