busted
« Back to VersTracker
Description:
Elegant Lua unit testing
Type: Formula  |  Latest Version: 2.2.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: testing lua bdd unit-tests developer-tools
Install: brew install busted
About:
Busted is a clean, flexible, and powerful unit testing framework for Lua. It provides a highly readable BDD-style syntax (describe/it) that makes writing tests intuitive. Its extensible architecture supports custom assertions and output formats, making it suitable for testing everything from Lua modules to complex applications.
Key Features:
  • BDD-style syntax with describe/it blocks
  • Extensible with plugins and custom assertions
  • Supports multiple output formats (e.g., plain text, JSON, TAP)
  • Zero dependencies and easy setup
Use Cases:
  • Unit testing Lua modules and libraries
  • Behavior-driven development (BDD) in Lua projects
  • Continuous integration pipelines for Lua codebases
Alternatives:
  • luaunit – xUnit-style framework; more verbose syntax but lightweight and pure Lua
  • telescope – Older framework with similar BDD style; less actively maintained
Version History
Detected Version Rev Change Commit