I’ve been working on a small cargo subcommand that implements a function I’ve often wanted to use: Testing all crates in my repository. It has a few caveats, but seems to be working quite well so far, so why not share it?
Installation is as simple as ever, thanks to
cargo install cargo-local-pkgs
To use it:
cargo local-pkgs test
test is the cargo subcommand to run. It works with any subcommand that supports selecting the package it runs on via
Link (also has Travis setup instructions and a few notes, since this command isn’t perfect)