olimorris / neotest-rspec Goto Github PK
View Code? Open in Web Editor NEW๐งช Neotest adapter for RSpec. Works in Docker containers too
License: MIT License
๐งช Neotest adapter for RSpec. Works in Docker containers too
License: MIT License
Hey I've been starting to try out neotest a little bit, thanks for making an rspec adapter.
I noticed just now that if you have a blockless it
for a pending test, it seems to break everything. Nothing shows up on the side line anymore, and if you have the summary window open they all stay as quesiton marks.
I tried to get the output, but I had never used output before and I'm just getting
E5108: Error executing lua: ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:14: The coroutine failed with this message: ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:14: The coroutine failed with this message: ..
.ck/packer/start/neotest/lua/neotest/consumers/output.lua:152: attempt to index upvalue 'client' (a nil value)
but I think that's probably unrleated to the pending/blockless it
s and something else wrong with my setup.
My test output has two things: the result of the test, and a stdout message about code coverage.
For some reason, only the code coverage stdout message is making it into the output file I seen in the neotest log (and so no results show up in vim). The test results are not in that file at all.
I tried running the command that is being constructed: bundle exec rspec file_spec.rb -f json -o test.json
-- and when I do that, the test.json is filled only with the opposite: json and no stdout.
Is the command running via something else that's maybe directing stdout to the output file too, and then stdout is overwriting the rspec output? Can you point me to what the next step after the command construction is? https://github.com/olimorris/neotest-rspec/blob/main/lua/neotest-rspec/init.lua#L115
I'm attempting to get this set up with LazyVim. I've confirmed that neotest-rspec
is installed and that the ruby nvim-treesitter
parser installed. However, I'm getting an "No Tests Found" message when attempting to run a spec file. Any ideas on what would be going wrong?
Neotest.lua config
return {
{
"nvim-neotest/neotest",
dependencies = {
"olimorris/neotest-rspec",
},
opts = {
adapters = {
["neotest-rspec"] = {
{
rspec_cmd = function()
return vim.tbl_flatten({
"bundle",
"exec",
"rspec",
})
end,
},
},
},
},
},
}
treesitter.lua config
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"ruby",
})
end,
},
}
Pop up error in editor
Error executing vim. schedule lua callback: ...{name}/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:95: Async task failed without callback: The coroutine failed with this me sec. de ...al/share/nvim/lazy/neotest/lua/neotest/adapters/init.lua:13:attempt to call field 'root' (a nil value)
Let(:a stack traceback:
Let_it ...al/share/nvim/lazy/neotest/lua/neotest/adapters/init.lua:in function 'adapters_with_root_dir' et_it ...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:504:infunction _update_adapters et(:e ...ocal/share/nvim/lazy/neotest/lua/neotest/client/{nit.lua:478:infunction start' ..ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:188:infunction' _ensure started'
subiec ..ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:200:infunction<...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:199>
..al/share/nvim/lazy/neotest/lua/neotest/consumers/run.lua:34:in function 'get_tree_from_args
lescri it
end
...al/share/nvim/lazy/neotest/lua/neotest/consumers/run.lua:67:in function func
..{name}/.Local/share/nvim/lazy/neotest/lua/nio/tasks.lua:166:infunction<...{name}/.local/share/nvim/lazv/neotest/lua/nio/tasks.Lua:165>
ex stack traceback:
[C1: in function 'error'{name}/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:95:in function 'close task'
it ex end
..{name}/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:117:in function 'b'
..{name}/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:179:in function <...{name}/. local/share/nvim/lazv/neotest/lua/nio/tasks. lua: 178>
Log from neotest.log
WARN | 2023-05-24T12:01:44Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:45Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:45Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:46Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:46Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:47Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:48Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:49Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:50Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:51Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:52Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:53Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:54Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:01:55Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:20Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:21Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:21Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:22Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:22Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:23Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:24Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:25Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:26Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:27Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:28Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:28Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call error converting argument 4
stack traceback:
[C]: in function 'rpcnotify'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:123: in function 'notify'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:162: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:159>
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:29Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:30Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
WARN | 2023-05-24T12:04:31Z-0400 | ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:161 | CHILD | Error in remote call ...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: no parser for 'ruby' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...0.9.0/share/nvim/runtime/lua/vim/treesitter/language.lua:94: in function 'add'
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:88: in function 'get_string_parser'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:119: in function 'get_parse_root'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:160: in function 'parse_positions_from_string'
...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:153: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152>
[C]: in function 'xpcall'
...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:152: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:151>
TSModuleInfo output
>> default context_commentstring highlight illuminate incremental_selection indent
ada โ โ โ โ โ
agda โ โ โ โ โ
arduino โ โ โ โ โ
astro โ โ โ โ โ
awk โ โ โ โ โ
bash โ โ โ โ โ
bass โ โ โ โ โ
beancount โ โ โ โ โ
bibtex โ โ โ โ โ
bicep โ โ โ โ โ
blueprint โ โ โ โ โ
c โ โ โ โ โ
c_sharp โ โ โ โ โ
capnp โ โ โ โ โ
chatito โ โ โ โ โ
clojure โ โ โ โ โ
cmake โ โ โ โ โ
comment โ โ โ โ โ
commonlisp โ โ โ โ โ
cooklang โ โ โ โ โ
cpon โ โ โ โ โ
cpp โ โ โ โ โ
css โ โ โ โ โ
cuda โ โ โ โ โ
cue โ โ โ โ โ
d โ โ โ โ โ
dart โ โ โ โ โ
devicetree โ โ โ โ โ
dhall โ โ โ โ โ
diff โ โ โ โ โ
dockerfile โ โ โ โ โ
dot โ โ โ โ โ
ebnf โ โ โ โ โ
eex โ โ โ โ โ
elixir โ โ โ โ โ
elm โ โ โ โ โ
elsa โ โ โ โ โ
elvish โ โ โ โ โ
embedded_template โ โ โ โ โ
erlang โ โ โ โ โ
fennel โ โ โ โ โ
firrtl โ โ โ โ โ
fish โ โ โ โ โ
foam โ โ โ โ โ
fortran โ โ โ โ โ
fsh โ โ โ โ โ
func โ โ โ โ โ
fusion โ โ โ โ โ
gdscript โ โ โ โ โ
git_config โ โ โ โ โ
git_rebase โ โ โ โ โ
gitattributes โ โ โ โ โ
gitcommit โ โ โ โ โ
gitignore โ โ โ โ โ
gleam โ โ โ โ โ
glimmer โ โ โ โ โ
glsl โ โ โ โ โ
go โ โ โ โ โ
godot_resource โ โ โ โ โ
gomod โ โ โ โ โ
gosum โ โ โ โ โ
gowork โ โ โ โ โ
graphql โ โ โ โ โ
hack โ โ โ โ โ
hare โ โ โ โ โ
haskell โ โ โ โ โ
hcl โ โ โ โ โ
heex โ โ โ โ โ
hjson โ โ โ โ โ
hlsl โ โ โ โ โ
hocon โ โ โ โ โ
html โ โ โ โ โ
htmldjango โ โ โ โ โ
http โ โ โ โ โ
ini โ โ โ โ โ
ispc โ โ โ โ โ
janet_simple โ โ โ โ โ
java โ โ โ โ โ
javascript โ โ โ โ โ
jq โ โ โ โ โ
jsdoc โ โ โ โ โ
json โ โ โ โ โ
json5 โ โ โ โ โ
jsonc โ โ โ โ โ
jsonnet โ โ โ โ โ
julia โ โ โ โ โ
kdl โ โ โ โ โ
kotlin โ โ โ โ โ
lalrpop โ โ โ โ โ
latex โ โ โ โ โ
ledger โ โ โ โ โ
llvm โ โ โ โ โ
lua โ โ โ โ โ
luadoc โ โ โ โ โ
luap โ โ โ โ โ
luau โ โ โ โ โ
m68k โ โ โ โ โ
make โ โ โ โ โ
markdown โ โ โ โ โ
markdown_inline โ โ โ โ โ
matlab โ โ โ โ โ
menhir โ โ โ โ โ
mermaid โ โ โ โ โ
meson โ โ โ โ โ
mlir โ โ โ โ โ
nickel โ โ โ โ โ
ninja โ โ โ โ โ
nix โ โ โ โ โ
norg โ โ โ โ โ
objc โ โ โ โ โ
ocaml โ โ โ โ โ
ocaml_interface โ โ โ โ โ
ocamllex โ โ โ โ โ
odin โ โ โ โ โ
org โ โ โ โ โ
pascal โ โ โ โ โ
passwd โ โ โ โ โ
perl โ โ โ โ โ
php โ โ โ โ โ
phpdoc โ โ โ โ โ
pioasm โ โ โ โ โ
po โ โ โ โ โ
poe_filter โ โ โ โ โ
pony โ โ โ โ โ
prisma โ โ โ โ โ
proto โ โ โ โ โ
prql โ โ โ โ โ
pug โ โ โ โ โ
puppet โ โ โ โ โ
python โ โ โ โ โ
ql โ โ โ โ โ
qmldir โ โ โ โ โ
qmljs โ โ โ โ โ
query โ โ โ โ โ
r โ โ โ โ โ
racket โ โ โ โ โ
rasi โ โ โ โ โ
regex โ โ โ โ โ
rego โ โ โ โ โ
rnoweb โ โ โ โ โ
ron โ โ โ โ โ
rst โ โ โ โ โ
ruby โ โ โ โ โ
rust โ โ โ โ โ
scala โ โ โ โ โ
scheme โ โ โ โ โ
scss โ โ โ โ โ
slint โ โ โ โ โ
smali โ โ โ โ โ
smithy โ โ โ โ โ
solidity โ โ โ โ โ
sparql โ โ โ โ โ
sql โ โ โ โ โ
squirrel โ โ โ โ โ
starlark โ โ โ โ โ
supercollider โ โ โ โ โ
surface โ โ โ โ โ
svelte โ โ โ โ โ
swift โ โ โ โ โ
sxhkdrc โ โ โ โ โ
t32 โ โ โ โ โ
tablegen โ โ โ โ โ
teal โ โ โ โ โ
terraform โ โ โ โ โ
thrift โ โ โ โ โ
tiger โ โ โ โ โ
tlaplus โ โ โ โ โ
todotxt โ โ โ โ โ
toml โ โ โ โ โ
tsx โ โ โ โ โ
turtle โ โ โ โ โ
twig โ โ โ โ โ
typescript โ โ โ โ โ
ungrammar โ โ โ โ โ
usd โ โ โ โ โ
uxntal โ โ โ โ โ
v โ โ โ โ โ
vala โ โ โ โ โ
verilog โ โ โ โ โ
vhs โ โ โ โ โ
vim โ โ โ โ โ
vimdoc โ โ โ โ โ
vue โ โ โ โ โ
wgsl โ โ โ โ โ
wgsl_bevy โ โ โ โ โ
yaml โ โ โ โ โ
yang โ โ โ โ โ
yuck โ โ โ โ โ
zig โ โ โ โ โ
Hello. I'm not sure what might have changed, but the plugin seem not to be working anymore. I'm seeing the following error when I try and run :lua require('neotest').run.run()
on an Rspec file:
E5108: Error executing lua ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:14: The coroutine failed with this message: Vim:E117: Unknown function: test#test_file
stack traceback:
[C]: in function 'error'
...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:14: in function 'callback_or_next'
...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:40: in function 'step'
...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:43: in function 'execute'
...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:103: in function 'run'
...te/pack/packer/opt/neotest/lua/neotest/consumers/run.lua:30: in function 'run'
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
Then, if i run it again, i see "No tests found":
Just incase it helps, my config is:
-- packer
use {
"nvim-neotest/neotest",
requires = {
"nvim-lua/plenary.nvim",
"olimorris/neotest-rspec",
"nvim-treesitter/nvim-treesitter",
"antoinemadec/FixCursorHold.nvim",
"nvim-neotest/neotest-plenary",
"nvim-neotest/neotest-vim-test",
},
config = function() require("plugins.config.neotest") end,
event = "BufEnter",
module = { "neotest" },
}
-- plugin
local plugin_loaded, neotest = pcall(require, "neotest")
if not plugin_loaded then
return
end
neotest.setup {
adapters = {
require "neotest-rspec",
require "neotest-vim-test" {
ignore_file_types = { "vim", "lua" },
},
},
diagnostic = false
}
I realise that the plugin is a work in progress, so if you have any idea as to what might have caused the recent break i'd be grateful to know. Thank you for your hard work.
I feel we're reaching the limit of the RSpec JSON formatter. It's becoming harder and harder to connect the output from Treesitter with RSpec. I've started to look into a custom RSpec reporter to begin to see what we could use
When I look at the test output, I expect to see human-friendly information about the test (and any failures): https://github.com/nvim-neotest/neotest#output-window
Instead, I see human-unfriendly JSON (rspec's JSON output, specifically).
This is a tricky one. Three options I can see:
#3 is my favourite, but a good starting point is probably to check how neotest-pytest does it, considering that's the example in the README screenshot. https://github.com/nvim-neotest/neotest-python
RSpec.describe "something" do
specify { expect { raise }.not_to raise_error }
end
No response
The test examples declared with specify
to be reported in summary, sign column, and on failure.
The test examples declared with specify
are largely ignored.
Open the example spec file and:
diff --git a/lua/neotest-rspec/init.lua b/lua/neotest-rspec/init.lua
index d12e686..f3c816e 100644
--- a/lua/neotest-rspec/init.lua
+++ b/lua/neotest-rspec/init.lua
@@ -61,12 +61,12 @@ function NeotestAdapter.discover_positions(path)
)) @namespace.definition
((call
- method: (identifier) @func_name (#eq? @func_name "it")
+ method: (identifier) @func_name (#match? @func_name "^(it|specify)$")
block: (block (_) @test.name)
)) @test.definition
((call
- method: (identifier) @func_name (#eq? @func_name "it")
+ method: (identifier) @func_name (#match? @func_name "^(it|specify)$")
block: (do_block (_) @test.name)
!arguments
)) @test.definition
I'd create a PR, but while I have a fix for my specific case, I'm not familiar with the test framework to quickly cover it with tests. I might still provide one later, but I can't make any promises.
minimal.lua
config file above and still get the issue:checkhealth treesitter
Hello, I'm seeing a No Tests Found message for the following spec:
# frozen_string_literal: true
require "rails_helper"
RSpec.describe Collections::Foodiverse::WaitlistCollectionAdvertiserService do
describe "Constants" do
it { expect(described_class.const_defined?(:BODY_MESSAGE_KEY)).to be true }
end
end
Running rspec via the terminal results in:
Finished in 0.37423 seconds (files took 7.58 seconds to load)
1 example, 0 failures
Randomized with seed 556
Do you know if there is support for the short it
syntax?
I'm using Neovim nightly and the latest version of the plugin.
Thank you again for the time you've put in to developing this plugin, I use it pretty much every day.
https://github.com/olimorris/neotest-rspec/blob/main/lua/neotest-rspec/init.lua#L125
I think, can be this conditions
if position.type == "test" or position.type == "namespace" then
run_by_line_number()
end
any reason, (position.type == "namespace" and vim.bo.filetype ~= "neotest-summary")
to do?
i'm using rbenv and i cannot run tests they jsut run using a spinning / in orange coloar and they stop, where can is see the logs or what's happening
Ref: #21
# This is not detected by treesitter
RSpec.describe do
it { expect("single line tests".size).to eq(17) }
end
This is a Treesitter query thing that I need to workout how to fix at some point. Not sure how often these crop up in everyone's workflows.
Sorry for the silly issue, but I thought it would be best to let you know:
use({
'nvim-neotest/neotest',
requires = {
...,
'olimorris/neotest-rspec',
} -- <== missing a comma here :)
config = function()
require('neotest').setup({
...,
adapters = {
require('neotest-rspec'),
}
})
end
})
For any tests that are nested beyond /spec/*
then the adapter will not work.
Currently working on a way to form the treesitter id that will fix that.
Hey, incredible work on this repository, and I think it would be better if we could run with docker, too, because the vast majority of companies use docker nowadays.
I thought like we could run this, setting custom_command as docker
Like:
require("neotest-rspec")(
{ custom_command = "docker exec -it mytestcontainer rspec" }
)
RSpec.describe Array do
describe "when first created" do
it { should be_empty }
end
end
https://relishapp.com/rspec/rspec-core/docs/subject/one-liner-syntax
I'm happy to implement this myself but I haven't done any lua plugin development before. Currently trying to figure out how to get a quick feedback loop when testing changes.
No response
No lua errors, the error comes from running the rspec in the wrong directory.
When running the tests in a monorepo, the rspec
command will always run from the current working directory, instead of the one holding the Gemfile closest to the spec.
git clone https://github.com/davidmh/neotest-rspec-monorepo-example
cd neotest-rspec-monorepo-example
nvim -u minimal-init.lua service-a/spec/minimal_spec.rb
:Neotest run<cr>
cd service-a/
nvim -u ../minimal-init.la spec/minimal_spec.rb
:Neotest run<cr>
minimal.lua
config file above and still get the issue:checkhealth treesitter
Ref: #15. The following code will not currently run:
RSpec.describe Class do
describe '.new' do
it 'handles the "." method naming convention' do
expect(Class.new).to be_a(Class)
end
end
end
The RSpec full_description id is:
Class.new handles the "." method naming convention
and the Treesitter ID is
Class .new handles the "." method naming convention
The space in the Treesitter ID is causing the issue so need to find a neat way to resolve it.
Running tests from the summary window is currently buggy as they're run by their test name rather than the line number the test is on:
When run from the buffer, the test passes. Yet from the summary window, it fails. The screenshot above shows the impact of a test that should pass, being run from the summary window.
Hello,
I'm not sure if this is an issue, one that related to this adapter or Neotest, but I thought I would mention it anyway.
When I run a set of specs, I see a non-uniq list of failures being populated into the LSP Diagnostics quicklist LSP plugin Trouble.
I've run these specs a few times now (as I am not managing to fix the issue ๐ค), but apart from that I can't think of a reason they would show in there like this.
I mentioned on Reddit that the attach modal was showing some text that wasn't useful, and I've worked it out. The modal obviously shows the output of the test running, which in the case of the project i'm working on, gives a bunch of deprecation warnings.
To get to the useful big I want, I need to G
to the bottom and enter insert mode.
Do you know if its possible to automatically scroll the content of the modal so that the most recent line is always shown?
In my rspec, I use a lot of include_examples
to check the structure of the JSON response against a schema.
In my spec file, I usually include a line like this:
include_examples 'http_response', :ok, 'users/collection
My current RSpec setup is that I create a shared example like here below:
RSpec.shared_examples 'http_response' do |status_code, schema| โ Missing frozen string literal comment.
it 'should have the correct status code and response body' do
expect(response).to have_http_status(status_code)
expect(response).to match_response_schema(schema)
end
end
And then in the second expect, I create a rspec matcher to automatically search the schema in a specific folder where I store all the schemas as a json file, and then I use validate that schema with the response.body
RSpec::Matchers.define :match_response_schema do |schema|
match do |response|
if schema.instance_of?(String)
schema_directory = "#{Dir.pwd}/spec/schemas"
schema_path = "#{schema_directory}/#{schema}.json"
JSON::Validator.validate!(schema_path, response.body, strict: true)
else
JSON::Validator.validate!(schema, JSON.parse(response.body), strict: true)
end
end
end
I see that this probably will be related to the discover_positions
method from Neotest
function NeotestAdapter.discover_positions(path)
local query = [[
((call
method: (identifier) @func_name (#match? @func_name "^(describe|context|feature)$")
arguments: (argument_list (_) @namespace.name)
)) @namespace.definition
((call
method: (identifier) @namespace.name (#match? @namespace.name "^(describe|context|feature)$")
.
block: (_)
)) @namespace.definition
((call
method: (identifier) @func_name (#eq? @func_name "it")
block: (block (_) @test.name)
)) @test.definition
((call
method: (identifier) @func_name (#match? @func_name "^(it|scenario|it_behaves_like)$")
arguments: (argument_list (_) @test.name)
)) @test.definition
]]
I personally haven't dig too much on how it finds and executes the test, but I really need this feature because in every spec file I have an include_examples
. I'll try to see also if I can help, thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.