nvim-neotest
neotest-plenary
Lua

No description available.

Last updated Aug 31, 2025
49
Stars
13
Forks
12
Issues
0
Stars/day
Attention Score
11
Language breakdown
Lua 97.8%
Shell 2.2%
โ–ธ Files click to expand
README

neotest-plenary

Neotest adapter for plenary.nvim busted tests.

image

This is WIP as use cases are discovered. Currently any minimal_init.lua/vim will be used when running tests. If you have extra requirements for running tests, please raise an issue to discuss incorporating it into this adapter.

Requires nvim-treesitter and the parser for lua.

require("neotest").setup({
  adapters = {
    require("neotest-plenary"),
  },
})

Minimal init.lua

By default, neotest-plenary will glob for:

  • /testrc
  • /minimal_init
  • test*/init.vim
Or, you can specify the exact file to use via, with each instance of the adapter having different configurations.
require("neotest").setup({
  projects = {
    ["~/Dev/my-plugin"] = require("neotest-plenary")({
      mininit = "./path/to/testinit.lua",
    }),
  },
  adapters = {
    require("neotest-plenary"), -- Default globbing for all other projects
  },
})
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท nvim-neotest/neotest-plenary ยท Updated daily from GitHub