local z=require(script.Expectation)local r=require(script.TestBootstrap)local f=require(script.TestEnum)local H=require(script.TestPlan)local w=require(script.TestPlanner)local q=require(script.TestResults)local k=require(script.TestRunner)local Y=require(script.TestSession)local F=require(script.Reporters.TextReporter)local T=require(script.Reporters.TextReporterQuiet)local Q=require(script.Reporters.TeamCityReporter)local function G(z,f)local H=r:getModules(z)local q=w.createPlan(H)local Y=k.runPlan(q)f(Y)end local m={run=G;Expectation=z;TestBootstrap=r,TestEnum=f,TestPlan=H;TestPlanner=w;TestResults=q,TestRunner=k;TestSession=Y;Reporters={TextReporter=F,TextReporterQuiet=T,TeamCityReporter=Q}}return m
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