test
luau
local test = require("@std/test")WARNING
These APIs are still open to future evolution. In new major versions, they may change in backwards incompatible ways.
Summary
| Entry | Description |
|---|---|
| _registered | |
| case | Registers an anonymous (top-level) test case with the given name. |
| suite | Registers a test suite with name, using registerFn to define its test cases. |
Functions and Properties
test._registered
luau
() -> ()test.case
Registers an anonymous (top-level) test case with the given name.
luau
(name: string, case: Test) -> ()test.suite
Registers a test suite with name, using registerFn to define its test cases.
luau
(name: string, registerFn: (TestSuite) -> ()) -> ()