You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can reproduce the issue with stable Neovim (not a distribution or nightly) and the minimal config.
Neovim version (nvim -v)
v0.9.5
Operating system/version
macOS 14.3.1 (23D60)
Output of :checkhealth rustaceanvim
==============================================================================rustaceanvim: require("rustaceanvim.health").check()Checking for Lua dependencies ~- OK [mfussenegger/nvim-dap](https://github.com/mfussenegger/nvim-dap) installed.Checking external dependencies ~- OK rust-analyzer: found rust-analyzer 1.76.0 (07dca489 2024-02-04)- OK Cargo: found cargo 1.76.0 (c84b36747 2024-01-18)- OK rustc: found rustc 1.76.0 (07dca489a 2024-02-04)- OK lldb: found lldb-1500.0.404.7Checking config ~- OK No errors found in config.Checking for conflicting plugins ~- OK No conflicting plugins detected.Checking for tree-sitter parser ~- OK tree-sitter parser for Rust detected.
How to reproduce the issue
Install Neotest and the rustaceanvim adapter for it.Create test module with multiple tests inside.Run tests in the current file.If both of them pass then both of them will have green checkmarks.If one of them fail both of them will be marked with red cross --> This makes it harder to find the actual test that's failing.
Expected behaviour
When one of the tests is failing inside a test module mark only that as failing and leave the green checkmark for the other passing tests in the neotest summary. In short: only mark tests as failing that are actually failing.
Actual behaviour
If one test fails inside a test module all the tests inside that module will be marked as failing.
As of now, the neotest adapter only parses test failures. If you run the whole test module, it'll mark the module position as failed, which neotest interprets as all tests failing.
It should be possible to determine the positions of passed tests from the output, and mark them as such. I will look into it soon.
Have you read the docs and searched existing issues?
Neovim version (nvim -v)
v0.9.5
Operating system/version
macOS 14.3.1 (23D60)
Output of :checkhealth rustaceanvim
How to reproduce the issue
Expected behaviour
When one of the tests is failing inside a test module mark only that as failing and leave the green checkmark for the other passing tests in the neotest summary. In short: only mark tests as failing that are actually failing.
Actual behaviour
If one test fails inside a test module all the tests inside that module will be marked as failing.
Untitled.mov
The minimal config used to reproduce this issue.
require('neotest').setup {
-- ...,
adapters = {
-- ...,
require 'rustaceanvim.neotest',
},
}
The text was updated successfully, but these errors were encountered: