busted is a unit testing framework with a focus on being easy to use. Supports Lua >= 5.1, luajit >= 2.0.0, and moonscript. busted test specs read naturally without being too verbose. You can even chain asserts and negations, such as assert.is_not.equal. Nest blocks of tests with contextual descriptions using describe, and add tags to blocks so you can run arbitrary groups of tests. An extensible assert library allows you to extend and craft your own assert functions specific to your case with method chaining. A modular output library lets you add on your own output format, along with the default pretty and plain terminal output, JSON with and without streaming, and TAP-compatible output that allows you to run busted specs within most CI servers.

Features

  • Testing available
  • Documentation available
  • Busted can be run as a standalone docker container
  • Use as a CI job
  • Extend and craft your own assert functions specific to your case
  • Add on your own output format, along with the default pretty and plain terminal output

Project Samples

Project Activity

See All Activity >

Categories

Unit Testing

License

MIT License

Follow busted

busted Web Site

Other Useful Business Software
Catch Bugs Before Your Customers Do Icon
Catch Bugs Before Your Customers Do

Real-time error alerts, performance insights, and anomaly detection across your full stack. Free 30-day trial.

Move from alert to fix before users notice. AppSignal monitors errors, performance bottlenecks, host health, and uptime—all from one dashboard. Instant notifications on deployments, anomaly triggers for memory spikes or error surges, and seamless log management. Works out of the box with Rails, Django, Express, Phoenix, Next.js, and dozens more. Starts at $23/month with no hidden fees.
Try AppSignal Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of busted!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Lua

Related Categories

Lua Unit Testing Tool

Registered

2024-07-18