A lightweight and fast test framework for Luau
- Luau 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| assets | ||
| docs | ||
| src | ||
| tests | ||
| .gitignore | ||
| .luaurc | ||
| default.project.json | ||
| LICENSE | ||
| mkdocs.yml | ||
| README.md | ||
| wally.toml | ||
Runs like a wisp.
A lightweight and fast test framework for Luau
Wisp gives you a chainable suite API, fluent assertions, and plain text reports — in a few hundred lines of code with zero dependencies.
local Wisp = require("@wisp")
Wisp.suite("Calculator")
:action("adds numbers", function()
Wisp.assume(1 + 1):equalsTo(2)
end)
:action("throws on division by zero", function()
Wisp.assume(function()
error("divide by zero")
end):throws()
end)
Wisp()
Calculator
✓ adds numbers
✓ throws on division by zero
Suites: 1 passed out of 1 total
Tests: 2 passed out of 2 total
Took: 0.11ms
Features
- Fast — 22 suites with 72 tests, all passing in 0.48ms
- Elegant — Chainable syntax that stands out from traditional frameworks
- Lightweight — Zero dependencies, works anywhere Luau runs, ~170 lines total
Getting Started
- Introduction — what Wisp is and isn't
- Installation — add Wisp to a Rojo project
- Your First Test — a five minute walkthrough
- Assertions — the full catalogue of expectations
- API Reference — every exported function, signature, and error