Forest Logo
search
package_2

wisp

By @b0nn133

Roblox

Mirrored from Wally
[image: Wisp]

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

Package Details

Install command (Click to copy)


Version

0.1.0

License

BSD-3-Clause

check_circle

Safe for commercial use

infoThe copyright notice must be preserved in copies. The author's name may not be used to promote your product.

Automated license review — not legal advice.