Closed avucic closed 11 months ago
I have cargo workspace setup:
project/Cargo.toml project/mylib/Cargo.toml project/mylib/src/foo.rs
I ran into the same problem.
Seem it was caused because of the cwd
when launching cargo nextest
is wrong. It's set to workspace path instead of member path, when cargo nextest
requires member path.
After some debug, seem it's set by intention, but I cannot figure out the result behind. A simple patch fixes the problem with workspace, but I'm not sure whether it causes other problem :lol
lua/neotest-rust/init.lua
I have cargo workspace setup:
My test looks something like
I tried the following commands:
And I'm getting this error
When I try this:
Nothing happened.
I run this command from the
project/mylib/
It works as expected.
I'm new to Rust/Cargo. Not sure if I can help you more.