Skip to content

hammerlink/neotest-deno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neotest-deno

A Deno adapter for neotest.

Features

  • 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

Requirements

Installation

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,
}

Configuration

require("neotest").setup({
  adapters = {
    require("neotest-deno")({
      -- Options:
      -- deno_path = "deno", -- Custom path to Deno executable
      -- args = {}, -- Additional arguments for Deno test command
    }),
  },
})

TODO

  • treesitter supporting nested subtests
  • support dap
  • handle only test results (status = filtered out?)

License

MIT

Credits

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published