Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

Busted review

Free#23 of 32 in Unit Testing

A flexible open-source testing framework for Lua projects and related languages.

7.4/10Editor score
Busted7.4 Visit Busted

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Busted is an open-source unit testing framework for Lua projects and related languages, including LuaJIT, MoonScript, and Terra. It is suited to teams that want to define tests in nested `describe` and `it` blocks, then run them locally or from CI. Its features cover common test organization and isolation needs: chainable assertions, extensible assertion functions, spies, stubs, mocks, tags, and setup and teardown hooks. The framework is a fit for Lua developers who want a test library rather than a hosted testing service.

Busted's testing workflow is configurable without being limited to one output format. Teams can filter or exclude tests with tags, run tests from the command line or as a standalone Lua script, and select handlers that produce JSON or TAP. The published details also list GitHub Actions use and TAP-compatible output for CI systems, which makes it relevant to projects that need test results in automation. Local execution and self-hosted deployment suit projects that prefer to keep test runs within their existing development environment. Coverage is available through LuaCov, which must be installed separately.

There is no paid tier to compare: Busted is open source, and its listed support channels are community resources and documentation. It runs on Linux, macOS, and Windows, giving teams across those platforms a common framework. The trade-off is that setup, execution, and coverage depend on the project's own Lua environment and tooling rather than a hosted service. Choose Busted when Lua-family language support, test doubles, and CI output formats are priorities; teams seeking a managed test platform or bundled coverage workflow should consider another approach.

Busted pros and cons

  • Where it wins
    • Supports Lua, LuaJIT, MoonScript, and Terra
    • Includes spies, stubs, mocks, tags, and test hooks
    • Offers JSON and TAP output for CI workflows
  • Where it doesn't
    • Code coverage requires LuaCov to be installed
    • Requires a local Lua project and command-line workflow
    • Support is through community resources and documentation

Busted fact sheet, pricing and score →

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update