local Z=require(script.Expectation)local b=require(script.TestBootstrap)local l=require(script.TestEnum)local m=require(script.TestPlan)local y=require(script.TestPlanner)local w=require(script.TestResults)local C=require(script.TestRunner)local u=require(script.TestSession)local d=require(script.Reporters.TextReporter)local i=require(script.Reporters.TextReporterQuiet)local o=require(script.Reporters.TeamCityReporter)local function V(Z,l)local m=b:getModules(Z)local w=y.createPlan(m)local u=C.runPlan(w)l(u)end local O={run=V;Expectation=Z,TestBootstrap=b,TestEnum=l,TestPlan=m;TestPlanner=y;TestResults=w,TestRunner=C,TestSession=u;Reporters={TextReporter=d;TextReporterQuiet=i;TeamCityReporter=o}}return O
local Expectation = require(script.Expectation)
local TestBootstrap = require(script.TestBootstrap)
local TestEnum = require(script.TestEnum)
local TestPlan = require(script.TestPlan)
local TestPlanner = require(script.TestPlanner)
local TestResults = require(script.TestResults)
local TestRunner = require(script.TestRunner)
local TestSession = require(script.TestSession)
local TextReporter = require(script.Reporters.TextReporter)
local TextReporterQuiet = require(script.Reporters.TextReporterQuiet)
local TeamCityReporter = require(script.Reporters.TeamCityReporter)

local function run(testRoot, callback)
	local modules = TestBootstrap:getModules(testRoot)
	local plan = TestPlanner.createPlan(modules)
	local results = TestRunner.runPlan(plan)

	callback(results)
end

local TestEZ = {
	run = run,

	Expectation = Expectation,
	TestBootstrap = TestBootstrap,
	TestEnum = TestEnum,
	TestPlan = TestPlan,
	TestPlanner = TestPlanner,
	TestResults = TestResults,
	TestRunner = TestRunner,
	TestSession = TestSession,

	Reporters = {
		TextReporter = TextReporter,
		TextReporterQuiet = TextReporterQuiet,
		TeamCityReporter = TeamCityReporter,
	},
}

return TestEZ