Skip to content

ghostnaps/jest-luau

 
 

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.

Releases

No releases published

Packages

No packages published

Languages

  • Lua 99.7%
  • Other 0.3%