running Rust tests from within helix #5014
-
How do people run rust tests from within the helix editor ? Like in Vscode, you have a little symbol over the functions marked as |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Running tests from Helix is not currently possible. Generally this is something provided by plugins in other editors. https://build-server-protocol.github.io/ might be a way to provide this generically in the future but it is too immature now. For now, you can run build and test tools in separate terminal sessions. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot @the-mikedavis |
Beta Was this translation helpful? Give feedback.
-
Hey, I miss running my tests from within helix as well. For me as a workaround (as soon as #3134 is possible) I thought of something like:
I know that not every test runner can deal with lines to run single tests though (pytest for example needs class / function names). |
Beta Was this translation helpful? Give feedback.
-
I wrote a small shell script that runs all unit tests in your current buffer that can work in the interim.
|
Beta Was this translation helpful? Give feedback.
Running tests from Helix is not currently possible. Generally this is something provided by plugins in other editors. https://build-server-protocol.github.io/ might be a way to provide this generically in the future but it is too immature now. For now, you can run build and test tools in separate terminal sessions.