Set the number of simultaneous running test cases

cargo test

  • Execute the unit and integration tests of a Rust package.
    More information: <https://doc.rust-lang.org/cargo/commands/cargo-test.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

cargo test -- --test-threads={{count}}

click the source code to copy install cargo test on any operating system with command-not-found.com