Specium
Suites & Sub-suites
Organize your tests into structured suites and nested sub-suites with a simple and readable API.
Expressive Assertions
Write clear assertions with expect and a rich set of matchers. Invert any matcher with .never and add context with .withMessage.
Auto-discovery
Use runTests to automatically scan folders for .spec modules and run them all at once, no manual wiring needed.
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.