-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Path dependencies that included in the workspace are displayed in the report, even if --all flag is not used #31
Comments
For what it's worth, I find it quite nice to have the workspace included. Admittedly this likely wouldn't be the case for non-workspace dependencies. |
The problem is that even if If you want to get the coverage of other crates in the workspace (and the workspace is not virtual), you have to use the |
Ah, gotcha. The crate I was happy to see it for was a proc macro, which doesn't have tests of its own. Either way I don't mind typing a couple more characters. |
131: Add --exclude-from-test/--exclude-from-report r=taiki-e a=taiki-e - Add `--exclude-from-test` option to exclude specific packages from the test but not from the report. - Add `--exclude-from-report` option to exclude specific packages from the report but not from the test. - Workspace members are now always included in the report unless specified by `--exclude` or `--exclude-from-report`. Closes #103 Effectively reverts #31 Co-authored-by: Taiki Endo <te316e89@gmail.com>
This behavior is correct for virtual workspaces, but otherwise it doesn't match the behavior of cargo.
See:
The text was updated successfully, but these errors were encountered: