lunarmodules/busted
Elegant Lua unit testing. observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 99
- Release rhythm 33
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5139
- days_rel: 238
- days_push: 8
- n_releases_24m: 1
Adoption not part of the score
1629 stars · 207 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
busted is an elegant, easy-to-use unit testing framework for Lua (5.1+, LuaJIT, Moonscript, Terra) with a natural, readable spec style. It offers extensible chained asserts, spies/stubs/mocks, nested describe blocks with tags, async tests, and modular output formats including TAP and JSON for CI integration.
Use cases
- write unit tests for lua code
- test lua modules with describe/it specs
- mock and spy on lua functions
- run lua tests in CI with TAP output
- extend assertion library with custom matchers
- test moonscript projects
When to choose
- you need a mature, widely adopted Lua testing framework
- you want readable BDD-style specs with chained assertions
- you need built-in spies, stubs, and mocks
- you need CI-friendly output formats like TAP or JSON
When to avoid
- you are testing non-Lua languages
- you need property-based or fuzz testing
- you want a zero-dependency test runner without LuaRocks
Facets
library · maturity active
testing mocking cli testing developer-tools programming-languages lua cli cross-platform unit-testing tdd bdd spies stubs moonscript luajit tap-output luarocks
2 sources
- readme: https://github.com/lunarmodules/busted · fetched 2026-08-28 · 470e567bf144
- homepage: https://lunarmodules.github.io/busted/ · fetched 2026-08-29 · 83ab6dad7ca5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lunarmodules/busted | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="lunarmodules/busted")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem