JSPM

@rbxts/specium

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q67051F
  • License ISC

A simple and flexible testing framework for Roblox

Package Exports

  • @rbxts/specium
  • @rbxts/specium/lib/init.luau

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rbxts/specium) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Specium

A simple and flexible testing framework for Roblox

View docs

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 suite and describe.
  • Expressive assertions: expect with matchers like toBe, toEqual, toThrow, toContain and more.
  • Invertible matchers: Use .never to flip any assertion.
  • Custom failure messages: Chain .withMessage(msg) for clearer output.
  • Structured results: Get a full SpeciumRunResult to inspect programmatically.
  • Auto-discovery: Use runTests to scan folders for .spec modules automatically.