all repos

utest.nvim @ 8b770efce346253b6afca69797f8125ab5c97127

test runner that you shouldn't be using

utest.nvim/readme (view raw)

1
μtest.nvim
2
----------
3
4
Small(~1K LOC) test runner for neovim.
5
I used neotest for a while, it often broke on me after updates,
6
so I made this mess.
7
8
INSTALL
9
10
  vim.pack.add({ "https://git.olexsmir.xyz/utest.nvim" })
11
  require("utest").setup()
12
13
USAGE
14
15
  Plugin only provides lua api to interact with the plugin.
16
17
  require("utest").run() -- runs nearest test to relativly to cursor
18
  require("utest").run_file() -- runs all tests in the current file
19
  require("utest").cancel() -- cancels running test(s)
20
  require("utest").clear() -- clears diagnostics messages/signs
21
  require("utest").quickfix() -- populates quickfix with test outputs
22
23
CONFIGURATION
24
25
  -- this is default config
26
  require("utest").setup {
27
    timeout = 30, -- (seconds) timeout for tests
28
    icons = {
29
      failed = "",
30
      running = "",
31
      skipped = "",
32
      success = "",
33
    }
34
  }
35
36
37
LICENSE
38
39
  "THE BEERWARE LICENSE" (Revision 42):
40
  Oleksandr Smirnov wrote this code. As long as you retain this
41
  notice, you can do whatever you want with this stuff. If we
42
  meet someday, and you think this stuff is worth it, you can
43
  buy me a beer in return.