Skip to content

Roblox/jest-roblox

Repository files navigation

Jest Roblox

Lovely Lua Testing
 

Jest Roblox can run within Roblox itself, as well as inside roblox-cli for testing on CI systems.

We use Jest Roblox at Roblox for testing our apps, in-game core scripts, built-in Roblox Studio plugins, as well as libraries like Roact Navigation.


Add this package to your dev_dependencies in your rotriever.toml, for example:

JestGlobals = "3.9.1"

Then, require anything you need from JestGlobals:

local JestGlobals = require(Packages.JestGlobals)
local expect = JestGlobals.expect

Inspiration and Prior Work

Jest Roblox is a Roblox port of the open source JavaScript testing framework Jest. Modules in the modules directory are aligned to v27.4.7 of Jest.


Contributing

Contributions are welcome! See CONTRIBUTING.md for information.

License

Jest Roblox is available under the MIT license. See LICENSE for details.

About

Delightful testing for Luau. This is a read-only mirror.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages