local v=require(script.Expectation)local E=require(script.TestBootstrap)local n=require(script.TestEnum)local f=require(script.TestPlan)local g=require(script.TestPlanner)local W=require(script.TestResults)local q=require(script.TestRunner)local K=require(script.TestSession)local p=require(script.Reporters.TextReporter)local i=require(script.Reporters.TextReporterQuiet)local h=require(script.Reporters.TeamCityReporter)local function U(v,n)local f=E:getModules(v)local W=g.createPlan(f)local K=q.runPlan(W)n(K)end local r={run=U;Expectation=v,TestBootstrap=E,TestEnum=n,TestPlan=f;TestPlanner=g,TestResults=W;TestRunner=q;TestSession=K;Reporters={TextReporter=p,TextReporterQuiet=i;TeamCityReporter=h}}return r
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