local T=require(script.Expectation)local K=require(script.TestBootstrap)local f=require(script.TestEnum)local i=require(script.TestPlan)local b=require(script.TestPlanner)local h=require(script.TestResults)local d=require(script.TestRunner)local X=require(script.TestSession)local x=require(script.Reporters.TextReporter)local F=require(script.Reporters.TextReporterQuiet)local o=require(script.Reporters.TeamCityReporter)local function P(T,f)local i=K:getModules(T)local h=b.createPlan(i)local X=d.runPlan(h)f(X)end local G={run=P;Expectation=T;TestBootstrap=K;TestEnum=f;TestPlan=i,TestPlanner=b;TestResults=h,TestRunner=d,TestSession=X;Reporters={TextReporter=x,TextReporterQuiet=F,TeamCityReporter=o}}return G
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