Neotest adapter for running Odin tests in Neovim.
Odin
installed and available in PATH- Neotest
- Treesitter with Odin support
Install & configure using the package manager of your choice. Example using lazy.nvim:
return {
"nvim-neotest/neotest",
dependencies = {
"Su3h7aM/neotest-odin", -- Installation
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
"nvim-neotest/nvim-nio",
},
opts = {
adapters = {
-- Registration
["neotest-odin"] = {}
}
}
}
- Can run tests in individual
.odin
files
Enabling logging in neotest
automatically enables logging in neotest-odin
as well:
require("neotest").setup({
log_level = vim.log.levels.DEBUG,
-- ...
})