@rbxts/specium
v1.2.0
Published
A simple and flexible testing framework for Roblox
Maintainers
Readme
Why Specium?
Testing in Roblox usually means scattered print statements or heavy dependencies like TestEZ. Specium is a lightweight alternative that gives you structured test suites, readable assertions, and detailed output — with no external dependencies.
Features
- Suites & sub-suites: Organize tests with
suiteanddescribe. - Expressive assertions:
expectwith matchers liketoBe,toEqual,toThrow,toContainand more. - Invertible matchers: Use
.neverto flip any assertion. - Custom failure messages: Chain
.withMessage(msg)for clearer output. - Structured results: Get a full
SpeciumRunResultto inspect programmatically. - Auto-discovery: Use
runTeststo scan folders for.specmodules automatically.
