Skip to content

Su3h7aM/neotest-odin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Neotest Odin

Neotest adapter for running Odin tests in Neovim.

⚙️ Requirements

📦 Setup

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"] = {}
        }
    }
}

⭐ Features

  • Can run tests in individual .odin files

📄 Logs

Enabling logging in neotest automatically enables logging in neotest-odin as well:

require("neotest").setup({
    log_level = vim.log.levels.DEBUG,
    -- ...
})

About

Neotest adapter for running Odin tests in Neovim.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages