Skip to content

Commit a38584f

Browse files
Auto-generate docs
1 parent 1dbdd3c commit a38584f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/neotest-busted.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,21 @@ run, the command will automatically try to find your tests in a `spec/`,
162162
<
163163

164164

165+
USING BUSTED DIRECTLY ~
166+
167+
You can also provide a `.busted` config file and run your tests using busted.
168+
Learn more about busted configuration files from the official docs
169+
<https://lunarmodules.github.io/busted/#usage> or take a look at the example
170+
here </.busted.example>.
171+
172+
Pass extra arguments to `neotest` to run a specific task. For example, to run
173+
the `"integration"` task in a test file:
174+
175+
>lua
176+
require("neotest").run.run({ vim.fn.expand("%"), extra_args = { "--run", "integration" } })
177+
<
178+
179+
165180
DEBUGGING TESTS *neotest-busted-debugging-tests*
166181

167182
`neotest-busted` has support for debugging tests via

0 commit comments

Comments
 (0)