μtest.nvim
----------
Small(~1K LOC) test runner for neovim.
I used neotest for a while, it often broke on me after updates,
so I made this mess.
INSTALL
vim.pack.add({ "https://git.olexsmir.xyz/utest.nvim" })
require("utest").setup()
USAGE
Plugin only provides lua api to interact with the plugin.
require("utest").run() -- runs nearest test to relativly to cursor
require("utest").run_file() -- runs all tests in the current file
require("utest").cancel() -- cancels running test(s)
require("utest").clear() -- clears diagnostics messages/signs
require("utest").qf() -- populates quickfix with test outputs
CONFIGURATION
-- this is default config
require("utest").setup {
timeout = 30, -- (seconds) timeout for tests
icons = {
failed = "",
running = "",
skipped = "",
success = "",
}
}
LICENSE
"THE BEERWARE LICENSE" (Revision 42):
Oleksandr Smirnov wrote this code. As long as you retain this
notice, you can do whatever you want with this stuff. If we
meet someday, and you think this stuff is worth it, you can
buy me a beer in return.
1f89655
— Oleksandr Smirnov
Thu, 09 Apr 2026
2026-04-09 00:35:42 +0300
fix readme
a96b9b5
— Oleksandr Smirnov
Fri, 03 Apr 2026
2026-04-03 22:21:05 +0300
update todos
db3688a
— Oleksandr Smirnov
Mon, 30 Mar 2026
2026-03-30 21:00:24 +0300
improve golang adapter thanks fredrikaverpil/neotest-golang
Clone urls
https://git.olexsmir.xyz/utest.nvim
git@git.olexsmir.xyz:utest.nvim
Mirror status
Up to date (checked 4 hours ago), source: https://github.com/olexsmir/utest.nvim