Skip to content

lib:test module

Experimental

The lib:test module is the Luau test runner. It registers test cases, runs them, and reports pass/fail with assertion details.

PropertyValue
Namespacelib
Sourcesrc/lua/lib/test.rs
Teststests/lib/test.test.luau
StabilityExperimental
Mirror

Syntax

lua
local test = require("lib:test")

Description

WARNING

This reference page is a stub. The full Lua surface is captured in the module source listed above and exercised by the test file. A spec PR following the spec-driven development workflow will land the contracted surface here.

Until that lands, the source and tests are the contract.

See also