Comments (7)
You need to install vim-test to use vim-test adapter 😄
from neotest.
Missed that line in the docs - thanks! 😄
from neotest.
@rcarriga This has worked great for weeks, but recently a version of this error has cropped up:
And the config:
use({
"nvim-neotest/neotest",
requires = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
"antoinemadec/FixCursorHold.nvim",
"haydenmeade/neotest-jest",
},
config = function()
require("neotest").setup({
adapters = {
require("neotest-jest")({
jestCommand = "npm test --",
env = { CI = true },
cwd = function()
return vim.fn.getcwd()
end,
}),
},
icons = {
running = "↻",
},
})
end,
})
I'm quite certain it's all in order. Any idea what's happening here?
from neotest.
It's unrelated to this issue. It looks like it's related to recent changes to use a second neovim instance for parsing. I've added better error handling so you won't see the error being raised. The underlying problem will still occur though, can you enable info logging by adding log_level = vim.log.levels.INFO
to your setup table and paste it here after reproducing the issue? Also what version of neovim are you using?
from neotest.
NVIM v0.9.0-dev-47-gcfdb4cbad-dirty
This cleared up the error message, but when trying to reproduce the error there are no messages being logged in ~/.cache/nvim/neotest.lua
which is where I would expect the logs to be.
from neotest.
With the newest release of neovim, the log file is moved to vim.fn.stdpath("log")
which is usually in ~/.local/state/nvim
from neotest.
Thanks for that. Unfortunately, logs are not super useful:
INFO | 2022-10-17T16:42:35Z+0200 | ...te/pack/packer/start/neotest/lua/neotest/config/init.lua:270 | Configuration complete
INFO | 2022-10-17T16:43:36Z+0200 | ...te/pack/packer/start/neotest/lua/neotest/config/init.lua:270 | Configuration complete
INFO | 2022-10-17T16:44:52Z+0200 | ...te/pack/packer/start/neotest/lua/neotest/config/init.lua:270 | Configuration complete
In any case, I'm not hitting the error anymore so tests are running. I have a separate issue where neotest
reports a failing test when in fact it's not, but I'll file a separate bug ticket.
from neotest.
Related Issues (20)
- Thoughts on why there is no support for Kotlin HOT 2
- New Adapter: Julia
- [QoL suggestion] Make adapter test discovery errors discoverable/survivable
- nio and busted? HOT 2
- [BUG] NerdFonts `v3` broke the `mdi-test-tube` icon for neotest in nvim-notify HOT 4
- Crash possibly related to neotest when using it with Rust inside a workspace
- [BUG] lua/neotest-dotnet/strategies/netcoredbg.lua:62: attempt to index field 'dap' (a nil value) HOT 2
- [BUG] neotest adds 3 seconds of startup time to neovim
- [BUG] Rust debugging issue
- [BUG] Watcher fails to find the lsp client after update to latest neotest with nio HOT 4
- [BUG] language name error when running any type of python test HOT 1
- [BUG] Cannot run nearest test or all tests from file HOT 6
- [BUG] Doing `gF` inside `neotest-output` floating window opens the file in same float
- [BUG] nested_tests causes test output from stdout/stderr to be printed undesirably
- [BUG] Files containing no tests shouldn't show up in summary
- [BUG] subprocess fails on non-default environments HOT 1
- Passing additional test arguments to runner HOT 1
- Feature Request: Set Notification Levels
- [BUG] Getting error "Future already set" and output_panel is empty for python tests HOT 7
- [Feature Request] Boost.Test supporting HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neotest.