/neotest-zig

Test runner for Zig in Neovim using Neotest backend.

Primary LanguageLuaMIT LicenseMIT

Neotest Zig ⚡

Neotest test runner for Zig.

neotest-zig.mp4

⚙️ Requirements

📦 Setup

Install & configure using the package manager of your choice. Example using lazy.nvim:

return {
	"nvim-neotest/neotest",
	dependencies = {
		"lawrence-laz/neotest-zig", -- Installation
		"nvim-lua/plenary.nvim",
		"nvim-treesitter/nvim-treesitter",
		"antoinemadec/FixCursorHold.nvim",
	},
	config = function()
		require("neotest").setup({
			adapters = {
				require("neotest-zig"), -- Registration
			}
		})
	end
}