Command to run current test? #497
-
I have just started using rustaceanvim, mainly for the integration with testing. Currently I use Ideally I would like a function to run the the "current" test - as in which test the cursor is currently in? Is such a function available? As an added bonus similar functions for all tests in file/module and all tests in crate would be nice? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
hey 👋 You can do this by enabling code lenses (
Something like that would need to be implemented in rust-analyzer, not rustaceanvim. |
Beta Was this translation helpful? Give feedback.
hey 👋
You can do this by enabling code lenses (
:h lsp-codelens
) or by using the neotest adapter.Something like that would need to be implemented in rust-analyzer, not rustaceanvim.