local a=require(script.Expectation)local b=require(script.TestBootstrap)local p=require(script.TestEnum)local c=require(script.TestPlan)local J=require(script.TestPlanner)local M=require(script.TestResults)local j=require(script.TestRunner)local Q=require(script.TestSession)local D=require(script.Reporters.TextReporter)local o=require(script.Reporters.TextReporterQuiet)local t=require(script.Reporters.TeamCityReporter)local function A(a,p)local c=b:getModules(a)local M=J.createPlan(c)local Q=j.runPlan(M)p(Q)end local X={run=A;Expectation=a;TestBootstrap=b;TestEnum=p,TestPlan=c;TestPlanner=J,TestResults=M,TestRunner=j;TestSession=Q;Reporters={TextReporter=D;TextReporterQuiet=o,TeamCityReporter=t}}return X
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