olimorris / neotest-rspec

๐Ÿงช Neotest adapter for RSpec. Works in Docker containers too
MIT License
88 stars 25 forks source link

No tests found #46

Closed higgsboz-beam closed 1 year ago

higgsboz-beam commented 1 year ago

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                โœ—                      โœ—          โœ—           โœ—                      โœ—       
olimorris commented 1 year ago

I'm not 100% confident your lazy config is correct. I can't see that you're requiring the adapter. Whilst I use Lazy, my config is a bit different:

config = function()
  require("neotest").setup({
    adapters = {
      require("neotest-plenary"),
      require("neotest-rspec"),
      require("neotest-phpunit"),
    }
  }
end

Finally, if you're not going to change the plugin's defaults, it's easiest to not include any options.

Hopefully this works.

higgsboz-beam commented 1 year ago

Ah I see what you mean about not changing the defaults. And this might end up being a question for the LazyVim maintainer as it looks like the syntax just recently change see here.

I ended up changing my config to this, but am still running into the same issue. Based on that comment, this should be requiring the adapter

return {
  {
    "nvim-neotest/neotest",
    dependencies = {
      "olimorris/neotest-rspec",
    },
    optional = true,
    opts = {
      adapters = {
        ["neotest-rspec"] = {},
      },
    },
  },
}

I also attempted the config that you included, but the same issue persisted.

return {
  {
    "nvim-neotest/neotest",
    dependencies = {
      "olimorris/neotest-rspec",
    },
    config = function()
      require("neotest").setup({
        adapters = {
          require("neotest-rspec"),
        },
      })
    end,
  },
}
olimorris commented 1 year ago

I probably should be clearer in the readme too...but do you have a spec folder with tests that end in _spec.rb? Also, does your main root folder have a a "Gemfile", ".rspec", ".gitignore" file?

higgsboz-beam commented 1 year ago

So there is a top level spec folder, but our project is split into different microservices which have a spec file within those as well. So for example, the test I was trying to run was in a file that looks like this vendor/mobile_api/spec/services/domain/model_spec.rb. Does the spec folder have to be at the root level?

Yes I have all of those files in my root folder

edit: I did attempt to run a test in the root spec folder and that did in fact work. So it looks like the nested spec folders are not currently supported?

olimorris commented 1 year ago

Wow. GitHub allowed me to edit your comment, accidentally...

olimorris commented 1 year ago

vendor/mobile_api/spec/services/domain/model_spec.rb. Does the spec folder have to be at the root level?

Currently it does. I think I'll fix this via a configurable option where a user chooses to search within directories beyond just the spec folder.

I'll leave this open for now and hopefully fix in the next week.

olimorris commented 1 year ago

@higgsboz-beam - This should be fixed in the latest commit. Can you check and let me know?

olimorris commented 1 year ago

Closing this but please reopen if still an issue

higgsboz-beam commented 1 year ago

Validated this is actually finding the spec files and running them now. All are failing at the moment however. It might just be a configuration issue that I need to resolve

higgsboz-beam commented 1 year ago

@olimorris So I think I figured out what my problem is and was wondering if you could add a configuration option for it. When running the rspec test, it will always run from the relative spec file. This causes an issue for me because we require a spec_helper from our top level spec folder. But because the test is run relatively, this file cannot be found.

In this example scenario below, if I run the test file my_app/microservice_a/spec/test_spec.rb, it will run bundle exec rspec ./spec/test_spec.rb from the microservice_a directory.

I want to be able to run the spec file from the root my_app directory so that it would run bundle exec rspec ./microservice_a/spec/test_spec.rb

my_app
|__ spec
     |__ spec_helper.rb
|__ microservice_a
     |__ spec
          |__ test_spec.rb
olimorris commented 1 year ago

No, that's not true. If you check your logs you should see something like this:

DEBUG | 2023-05-30T19:12:09Z+0100 | ...nvim/lazy/neotest/lua/neotest/client/strategies/init.lua:35 | Strategy spec {
  command = { "bundle", "exec", "rspec", "-f", "json", "-o", "/var/folders/v2/78qsgrqj3c19g1z0vlsxjb3c0000gn/T/nvim.Oli/FQV7In/0", "-f", "progress", "/Users/Oli/Code/Neovim/neotest-rspec/vendor/mobile_api/spec/services/domain/model_spec.rb:2" },
  context = {
    engine_name = "vendor/mobile_api",
    results_path = "/var/folders/v2/78qsgrqj3c19g1z0vlsxjb3c0000gn/T/nvim.Oli/FQV7In/0"
  },
  cwd = "vendor/mobile_api",
  strategy = {}
}

The full command we run with in the adapter is quite extensive...

So the full path and line number are sent to Rspec. In the example above /Users/Oli/Code/Neovim/neotest-rspec/vendor/mobile_api/spec/services/domain/model_spec.rb:2 which works as expected:

Screen Shot 2023-05-30 at 19 17 27@2x

I'd advise checking the logs and seeing what comes back

higgsboz-beam commented 1 year ago

I took a look at the logs and this was the only thing I was seeing. No breakdown on the command run like you showed.

WARN | 2023-05-30T16:13:30Z-0400 | ...al/share/nvim/lazy/neotest/lua/neotest/client/runner.lua:24 | Position already running: ./vendor/mobile_api/spec/services/mobile_api/plans_service_spec.rb::5
WARN | 2023-05-30T16:25:13Z-0400 | ...al/share/nvim/lazy/neotest/lua/neotest/client/runner.lua:24 | Position already running: /Users/<name>/repos/myapp/vendor/mobile_api/spec/services/mobile_api/plans_service_spec.rb

However, when I tried to debug the file using

require("neotest").run.run({ vim.fn.expand("%"), strategy = "dap" })

I had two messages displayed through the LazyVim interface (not sure where these come from).

One had a trace like below:

neotest-rspec: ...onminner/.local/share/nvim/lazy/neotest/lua/nio/init.lua:105: The coroutine failed with this message: 
...nvim/lazy/neotest/lua/neotest/client/strategies/init.lua:55: attempt to index local 'instance' (a nil value)
stack traceback:
    ...nvim/lazy/neotest/lua/neotest/client/strategies/init.lua: in function 'run'
    ...al/share/nvim/lazy/neotest/lua/neotest/client/runner.lua:129: in function '_run_spec'
    ...al/share/nvim/lazy/neotest/lua/neotest/client/runner.lua:89: in function <...al/share/nvim/lazy/neotest/lua/neotest/client/runner.lua:88>

The other said:

Adapter doesn't support chosen strategy

Just for clarity, this is my neotest.lua config with nvim-dap as a dependency

return {
  {
    "nvim-neotest/neotest",
    dependencies = {
      "olimorris/neotest-rspec",
      "mfussenegger/nvim-dap",
    },
    config = function()
      require("neotest").setup({
        adapters = {
          require("neotest-rspec")({
            root_files = { "Blueprintfile.js", "Blueprintfile.rb" },
          }),
        },
      })
    end,
  },
}
olimorris commented 1 year ago

Yep this adapter doesn't support nvim-dap so the command you should be using is require("neotest").run.run(), as per the readme. If you run that next to your tests that should work.

higgsboz-beam commented 1 year ago

Got it. Unfortunately when I run it normally, I don't have any additional logs output to the ~/.local/state/nvim/neotest.log file. The reason why I thought it was running rspec with a relative path instead of absolute was because of the test output.

An error occurred while loading ./spec/services/mobile_api/plans_service_spec.rb. - Did you mean?
                                ^^^^^^^^^^^ Relative path
                    <other files here>

Failure/Error: require_relative 'spec_helper'

LoadError:
  cannot load such file -- /Users/<name>/repos/myapp/vendor/mobile_api/spec/spec_helper
                           ^^^^^^^^^^^^^ This file doesn't exist, but running from a relative path makes it think it does

I tried to run the test with a relative path just from the normal command line and I had the exact same output. But it wasn't so if I ran it with the absolute path. How are you seeing your logs that you included in your previous message?

olimorris commented 1 year ago

Okay, so you'll need to set the log_level in Neotest to something like 1 to get the logs generated.

If you run bundle exec rspec [path_to_test_file:[line_number]] does it actually work? I ask because the adapter doesn't do anything too clever; it detects a test file, uses Treesitter to "read" the file and identify tests, then passes the filename and position from Treesitter to the Rspec command.

Also, if you open up the Neotest summary, can you see all of the Rspec tests?

higgsboz-beam commented 1 year ago

I can see the neotest summary with all of the rspec tests.

My logs look very similar to yours and definitely appear to be running the rspec with the absolute path. The part that I think is causing the issue is the cwd.

INFO | 2023-05-31T09:48:49Z-0400 | ...nvim/lazy/neotest/lua/neotest/client/strategies/init.lua:34 | Starting process neotest-rspec:/Users/<name>/repos/beam-api-/Users/<name>/repos/beam-api/vendor/mobile_api/spec/services/mobile_api/plans_service_spec.rb with strategy integrated
DEBUG | 2023-05-31T09:48:49Z-0400 | ...nvim/lazy/neotest/lua/neotest/client/strategies/init.lua:35 | Strategy spec {
  command = { "bundle", "exec", "rspec", "-f", "json", "-o", "/var/folders/yt/hmhbk7rn08bft4jvbz86fvf80000gq/T/nvim.<name>/ykmHGY/0", "-f", "progress", "/Users/<name>/repos/myapp/vendor/mobile_api/spec/services/mobile_api/plans_service_spec.rb" },
  context = {
    engine_name = "vendor/mobile_api",
    results_path = "/var/folders/yt/hmhbk7rn08bft4jvbz86fvf80000gq/T/nvim.<name>/ykmHGY/0"
  },
  cwd = "vendor/mobile_api",
  strategy = {
    height = 40,
    width = 120
  }
}

If I'm in my project root running bundle exec rspec [path_to_test_file:[line_number]] it works perfectly. However, if I make my current working directory vendor/mobile_api and run the same thing, I'll get an error. So it seems like the cwd is causing the problem. I'm wondering if it's because the bundle exec relies on the directory that it's executed in? TBH my knowledge of rspec/rails isn't the best so I don't know if this is more of a problem with how my project is set up, or if this is a valid use case. Either way, definitely appreciate you taking the time to help figure this out

higgsboz-beam commented 1 year ago

I'm wondering if the new root_files isn't working as intended right now. Instead of doing a vim.list_extend here, should it be local root_files = config.get_root_files() or { "Gemfile", ".rspec", ".gitignore" }? I do have a Gemfile in the vendor/mobile_api directory which is why it could be using that as the cwd.

olimorris commented 1 year ago

Just to confirm, this works on any test that is in your app's root? It's just once you start trying to run it from the vendor/mobile_api directory?

Could you share your updated config?

higgsboz-beam commented 1 year ago

Correct. I actually just realized I could test this out by running a top level spec. When running neotest from a spec in the root spec directory the tests pass. But when running on the nested test, it fails.

Similarly, if I run bundle exec rspec <absolute_path> from the root directory it works. But if I run it from a nested directory with a Gemfile, it fails.

This is my current config. The two root files only exist at the root which is why I chose them.

return {
  {
    "nvim-neotest/neotest",
    dependencies = {
      "olimorris/neotest-rspec",
    },
    config = function()
      require("neotest").setup({
        adapters = {
          require("neotest-rspec")({
            root_files = { "Blueprintfile.js", "Blueprintfile.rb" },
          }),
        },
      })
    end,
  },
}
olimorris commented 1 year ago

Got it! Yep it looks like the presence of the Gemfile in the vendor/mobile_api dir is scuppering it. I've pushed some config changes as part of 5fe7d86. So now it takes your config OR uses the defaults.

You could set root_files using a function and some conditionals if required. Let me know how you get on.

higgsboz-beam commented 1 year ago

From an initial test, it looks like my cwd is still the vendor/mobile_api instead of the root, but I haven't had much time to mess around with it. I'll let you know when I get some time to debug it a little more

olimorris commented 1 year ago

Hey @higgsboz-beam. Thought I'd check in and see how you're getting on.