We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1252cb3 commit bcf897bCopy full SHA for bcf897b
1 file changed
TESTS_README.md
@@ -34,11 +34,21 @@ The test **some test** checks that a functions output is as expected based on th
34
35
# Running tests
36
37
-Run the test using `:PlenaryBustedTest <file>`.
+Run the test using `:PlenaryBustedFile <file>`.
38
39
```vimscript
40
" Run the test in the current buffer
41
-:PlenaryBustedTest %
+:PlenaryBustedFile %
42
+" Run all tests in the directory "tests/plenary/"
43
+:PlenaryBustedDirectory tests/plenary/
44
+```
45
+
46
+Or you can run tests in headless mode to see output in terminal:
47
48
+```bash
49
+# run all tests in terminal
50
+cd plenary.nvim
51
+nvim --headless -c 'PlenaryBustedDirectory tests'
52
```
53
54
# mocking with luassert
0 commit comments