When a test panics (not due to an assertion failure - in my case due to an unwrap on Err), neotest-rust can't parse the output.
So I added another attempt at parsing in case message == nil. It's a bit hacky, but seems to work, at least in my case. :sweat_smile:
I've added a spec in which I copied the test output of my test case that was failing.
Unfortunately, I can't run make test locally, because I'm on NixOS and it tries to install the tree-sitter parser to the nix store.
Hey :wave:
When a test panics (not due to an assertion failure - in my case due to an
unwrap
onErr
), neotest-rust can't parse the output.So I added another attempt at parsing in case
message == nil
. It's a bit hacky, but seems to work, at least in my case. :sweat_smile:I've added a spec in which I copied the test output of my test case that was failing. Unfortunately, I can't run
make test
locally, because I'm on NixOS and it tries to install the tree-sitter parser to the nix store.