- Run Deno tests within Neovim
- Shows test output in a nice UI
- Supports individual test runs and test suites
- Integrates with neotest's diagnostic features
- Neovim >= 0.10.0
- neotest
- Deno v2.0.0 or higher
- nvim-treesitter with JavaScript/TypeScript parsers installed
Using packer.nvim
use({
"nvim-neotest/neotest",
requires = {
"hammerlink/neotest-deno",
-- your other test adapters...
},
config = function()
require("neotest").setup({
adapters = {
require("neotest-deno"),
},
})
end,
})Using lazy.nvim
{
"nvim-neotest/neotest",
dependencies = {
"hammerlink/neotest-deno",
-- your other test adapters...
},
config = function()
require("neotest").setup({
adapters = {
require("neotest-deno"),
},
})
end,
}require("neotest").setup({
adapters = {
require("neotest-deno")({
-- Options:
-- deno_path = "deno", -- Custom path to Deno executable
-- args = {}, -- Additional arguments for Deno test command
}),
},
})- treesitter supporting nested subtests
- support dap
- handle only test results (status = filtered out?)
MIT
This adapter is based on the neotest framework and inspired by other neotest adapters.
This README now provides comprehensive information about your neotest-deno adapter, including installation instructions, configuration options, usage examples, and other standard sections expected in a Neovim plugin README. Feel free to adjust any details that don't match your specific implementation!