Skip to content

[coverage] Pub workspace support #2083

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

Open
dcharkes opened this issue May 1, 2025 · 0 comments
Open

[coverage] Pub workspace support #2083

dcharkes opened this issue May 1, 2025 · 0 comments
Assignees

Comments

@dcharkes
Copy link
Contributor

dcharkes commented May 1, 2025

We should start supporting pub workspaces in package coverage.

Intended workflow: dart pub global run coverage:test_with_coverage in a workspace directory, it should produce a coverage file spanning all sources of all packages in that workspace. Lines covered by the tests of another package should also count as coverage.

@liamappelbe Things that need to change:

  • The file filtering
  • Multiple different coverage runs for combining
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants