The command line solution may help you to configure your IDE:
cargo +nightly test
Provided, of course, that you have the nightly channel installed. If not, perhaps install it with rustup install nightly
(no need to switch to it, but check you’re still on stable: rustup show
).
Related Contents:
- Package with both a library and a binary?
- Why are Rust executables so huge?
- How can a Rust program access metadata from its Cargo package?
- How can I build multiple binaries with Cargo?
- Cargo build hangs with ” Blocking waiting for file lock on the registry index” after building parity from source
- Is there a command to update Cargo to the latest official release?
- Does cargo install have an equivalent update command?
- What is a crate attribute and where do I add it?
- How to define test-only dependencies?
- How to get a release build with debugging information when using cargo?
- How can I specify binary-only dependencies?
- error[E0554]: #![feature] may not be used on the stable release channel Couldn’t install racer using cargo
- How to launch a Rust application from Visual Studio Code?
- How can I get cargo to recompile changed files automatically?
- Can Cargo download and build dependencies without also building the application?
- How to opt out of running a doc test?
- Can’t use `-Z macro-backtrace` unstable option with `cargo`
- How to clear the Cargo cache?
- Why doesn’t println! work in Rust unit tests?
- What is the difference between Copy and Clone?
- What are non-lexical lifetimes?
- Using map with Vectors
- How I can mutate a struct’s field from a method?
- Get the String length in characters in Rust
- How to use a map over vectors?
- How do I implement Copy and Clone for a type that contains a String (or any type that doesn’t implement Copy)?
- How do I get an enum as a string?
- How do I get an absolute value in Rust?
- How to switch between Rust toolchains?
- How can I implement Rust’s Copy trait?
- What is the purpose of the unit type in Rust?
- Repeat string with integer multiplication
- What does the “box” keyword do?
- How to generate statically linked executables?
- Convert float to integer in Rust
- Why can’t this higher kinded lifetime associated type trait bound be satisfied?
- What exactly does ‘#[derive(Debug)]’ mean in Rust?
- Why does std::fs::write(…) use an inner function?
- How to run a specific unit test in Rust?
- What is the bitwise NOT operator in Rust?
- How do I convert an enum reference to a number?
- How do I return a reference to something inside a RefCell without breaking encapsulation?
- Is there a way other than traits to add methods to a type I don’t own?
- How to disable a clippy lint for a single line / block? [duplicate]
- When would you use a Mutex without an Arc?
- Sort HashMap data by value
- Initialize a large, fixed-size array with non-Copy types
- How can I locate resources for testing with Cargo?
- What is Cons()?
- How to transform fields during deserialization using Serde?