Closed
Description
If foo
is a dependency, I can run its tests with cargo test -p foo
or cargo test --package foo
.
I’d like to test many dependencies with cargo test -p foo -p bar -p baz
and take advantage of Cargo’s built-in parallelism.
Currently, a cargo
command only accepts at most one -p
parameter. So I have to run multiple commands: cargo test -p foo && cargo test -p bar && cargo test -p baz
. These commands can not run in parallel with each other because of #354.
This also applies to other Cargo commands (build
, doc
, bench
, …) that accept --package
.