local c=require(script.Expectation)local M=require(script.TestBootstrap)local n=require(script.TestEnum)local F=require(script.TestPlan)local I=require(script.TestPlanner)local m=require(script.TestResults)local H=require(script.TestRunner)local C=require(script.TestSession)local q=require(script.Reporters.TextReporter)local i=require(script.Reporters.TextReporterQuiet)local Z=require(script.Reporters.TeamCityReporter)local function J(c,n)local F=M:getModules(c)local m=I.createPlan(F)local C=H.runPlan(m)n(C)end local N={run=J;Expectation=c,TestBootstrap=M;TestEnum=n;TestPlan=F;TestPlanner=I;TestResults=m,TestRunner=H,TestSession=C;Reporters={TextReporter=q;TextReporterQuiet=i;TeamCityReporter=Z}}return N
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