local F={{"\115\114\099","\084\101\115\116\069\090"},{"\116\101\115\116\115";"\084\101\115\116\069\090\084\101\115\116\115"}}package.path=package.path.."\059\063\047\105\110\105\116\046\108\117\097"local d=require("\109\111\100\117\108\101\115\046\108\101\109\117\114")local k=d.Habitat.new()local T=k.game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")for F,d in ipairs(F)do local C=k:loadFromFs(d[1])C.Name=d[2]C.Parent=T end local C=k:loadFromFs("\116\101\115\116\047\114\117\110\110\101\114\046\115\101\114\118\101\114\046\108\117\097")k:require(C)
--[[
	Loads TestEZ and all of its dependencies, then runs our test entrypoint.
]]

-- If you add any dependencies, add them to this table so they'll be loaded!
local LOAD_MODULES = {
	{"src", "TestEZ"},
	{"tests", "TestEZTests"},
}

-- This makes sure we can load Lemur and other libraries that depend on init.lua
package.path = package.path .. ";?/init.lua"

-- If this fails, make sure you've cloned all Git submodules of this repo!
local lemur = require("modules.lemur")

-- Create a virtual Roblox tree
local habitat = lemur.Habitat.new()

-- We'll put all of our library code and dependencies here
local ReplicatedStorage = habitat.game:GetService("ReplicatedStorage")

-- Load all of the modules specified above
for _, module in ipairs(LOAD_MODULES) do
	local container = habitat:loadFromFs(module[1])
	container.Name = module[2]
	container.Parent = ReplicatedStorage
end

-- When Lemur implements a proper scheduling interface, we'll use that instead.
local runTests = habitat:loadFromFs("test/runner.server.lua")
habitat:require(runTests)