local U=require(script.Expectation)local a=require(script.TestBootstrap)local N=require(script.TestEnum)local s=require(script.TestPlan)local X=require(script.TestPlanner)local n=require(script.TestResults)local Z=require(script.TestRunner)local V=require(script.TestSession)local K=require(script.Reporters.TextReporter)local R=require(script.Reporters.TextReporterQuiet)local k=require(script.Reporters.TeamCityReporter)local function M(U,N)local s=a:getModules(U)local n=X.createPlan(s)local V=Z.runPlan(n)N(V)end local S={run=M;Expectation=U;TestBootstrap=a,TestEnum=N,TestPlan=s;TestPlanner=X;TestResults=n;TestRunner=Z,TestSession=V;Reporters={TextReporter=K;TextReporterQuiet=R;TeamCityReporter=k}}return S
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