You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2020. It is now read-only.
The #[test] attribute is picked up by Rust-Analyzer so RA shows "Run Test" buttons but you get an error if you try to use.
Those button will invoke cargo test --package testsuite --test test -- tests::assert_true --exact --nocapture which then invokes passes the tests::assert_true --exact --nocapture arguments to probe-run. probe-run will fail to run as it doesn't recognize those command line arguments.
Interestingly the mod tests module is also picked up by RA so it also gets a "Run Test" button; that one also fails to run.
The
#[test]attribute is picked up by Rust-Analyzer so RA shows "Run Test" buttons but you get an error if you try to use.Those button will invoke
cargo test --package testsuite --test test -- tests::assert_true --exact --nocapturewhich then invokes passes thetests::assert_true --exact --nocapturearguments toprobe-run.probe-runwill fail to run as it doesn't recognize those command line arguments.Interestingly the
mod testsmodule is also picked up by RA so it also gets a "Run Test" button; that one also fails to run.