underlying issue was that unittests are described with target.kind == "lib" (or bin) by cargo test --mesage-format=json. rust-tools expects that all tests would have target.kind == "test". This prevented unittests from being visible.
We make unittests visible by observing if profile.test is set in a cargo test json artifact
this fixes errors described by #324 and #322
underlying issue was that unittests are described with
target.kind
=="lib"
(or bin) bycargo test --mesage-format=json
. rust-tools expects that all tests would havetarget.kind
=="test"
. This prevented unittests from being visible.We make unittests visible by observing if
profile.test
is set in a cargo test json artifact