Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>Nu Busted Test ExplorerNew to Visual Studio Code? Get it now.
Nu Busted Test Explorer

Nu Busted Test Explorer

André Diogo

|
2 installs
| (1) | Free
Discover and run your lua busted tests from vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Nu Busted Test Explorer

VSCode Test Explorer integration for Lua tests with Busted.

Run Lua Busted test cases in Visual Studio Code.

Test Explorer Features

  • Discover and run Busted tests from VSCode Test Explorer UI.
  • Supports filtering, concurrent execution, and detailed output.
  • Supports Windows (and WSL) and dockerized runs
  • Watchdog to kill hung processes when tests produce no output.

Profiles

You can run tests in different environments: "local" | "wsl" | "docker" (default: local)

Overview

A lightweight extension to run Lua Busted test cases in Visual Studio Code.

  • Run test cases
  • View test report
  • View tests in Test Explorer

Requirements

  • VS Code (version 1.138.0 or later)
  • Busted

Features

Run/Debug Test Cases

Run Test Cases

  • The extension will generate shortcuts (the green play button) on the left side of the context blocks and test case function calls. To run the target test cases, simply click on the green play button. You can also right click on them to see more options.

Test Explorer

Test Explorer

  • The Test Explorer is the place to show all the test cases in your workspace. You can also run your test cases from here.

View Test Result

View Test Result

  • After running the test cases, the state of the related test items will be updated in both editor decoration and test explorer.
  • You can trigger the command Test: Peek Output to peek the result view.

Settings

Setting Name Description Default Value
busted-test-explorer.executable Name or full path of the busted executable. If only a name is provided, the executable must be in PATH. busted
busted-test-explorer.args Additional busted command line option. []
busted-test-explorer.cwd Working directory used by busted during test runs. ``
busted-test-explorer.env Environement variable appended to the environment when busted is executed. {}
busted-test-explorer.testfilepattern Test file pattern. **/*_spec.lua

VS Code Embedded Settings for Testing

Contributing and Feedback

Contributions and feedback are welcomed. Feel free to submit issue and pull request on the github project.

License

This extension is licensed under MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft