-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neotest diagnostics #44
Conversation
Note that I use |
I think handling specialized cases would be very welcome! By the way, would you mind giving me some pointers for implementing this for other adapters? From looking at the code, the main thing seems to be indeed the |
you can set the In this library I created a module |
This is kinda broken to me in the latest version. Is this working for any of you? |
@igorlfs it looks like the output format has changed. can you open a new issue to track this? it should be a simple fix to https://github.com/rouge8/neotest-rust/blob/main/lua/neotest-rust/errors.lua and https://github.com/rouge8/neotest-rust/blob/main/tests/errors_spec.lua#L12 . I'm not writing much Rust these days so I probably won't get to it anytime soon, but PRs are welcome! |
resolves #22
For now, I parse rustc panic messages and display the whole message as a diagnostic.
I could imagine that we may want to handle specialised cases for common assert failed messages, like for example: assert_eq could become a compact diagnostic message in vim:
left: `2`, right: `3`
, but we could add that in another PR (if wanted), thoughts? @rouge8 @igorlfs