-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
--recursive to test an entire workspace? #36
Comments
Isn't this handed via |
Thanks for the report! I'm glad that even a dual core system is faster. As @epage says, this is handled by |
Hmm. The idea was to have It also looks like |
Yes, unfortunately doctests aren't yet supported because of limitations in stable Rust. Going to mark this as closed for now as a result. Thanks again for reporting the issue! |
Well I would like This does not seem to be what |
Ok I see, I shouldn't have used the work "workspace" in the title, I ment like a "hierarchy of crates and subcrates in a directory" and not an official cargo workspace. |
Is there a reason you aren't using a workspace? That is generally cargo's approach to working on a group of crates ("generally" because in some cases, path dependencies are relied on instead, mostly due to the lack of "workspaces in workspaces' support). Without it, other means would be needed to opt crates in and out of each run command. It also becomes less clear what to do with |
I think workspaces only make sense if the crates directly depend on each other and live in the same repo? For convenience it would be great if there was some simple "run all tests" command. In CI for example we currently |
The bigger problem for clippy is that I'm assuming its like cargo and can't have a workspace because its pulled into the rust workspace via submodules. |
Hi, first of all awesome crate! :D
On just a dual core system it seems to be 10-15% faster than default
cargo test
. :)While playing around with it, I wondered if it would be useful to have some kind of
--recursive
flag that does not only runtest
in the current directory but also on all other crates of the current workspace.The text was updated successfully, but these errors were encountered: