Last active
March 15, 2026 17:06
-
-
Save ari-party/b0ed9a4e5615ee854f0befb73a0cfcc1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local ServerStorage = game:GetService("ServerStorage") | |
| local UnitTests = ServerStorage.UnitTests | |
| local erroredModules = {} | |
| print("[UnitTests] Requiring unit tests") | |
| for _, testModule in UnitTests:GetChildren() do | |
| print(`[UnitTests] Requiring {testModule.Name}`) | |
| local success, err = pcall(require, testModule) | |
| if not success then | |
| table.insert(erroredModules, { testModule:GetFullName(), err }) | |
| end | |
| end | |
| print("[UnitTests] Calling runTests") | |
| local results = require(UnitTests).runTests() | |
| return results, erroredModules, game.PlaceVersion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment