local I=require(script.Expectation)local u=require(script.TestBootstrap)local z=require(script.TestEnum)local s=require(script.TestPlan)local C=require(script.TestPlanner)local R=require(script.TestResults)local Q=require(script.TestRunner)local w=require(script.TestSession)local Z=require(script.Reporters.TextReporter)local r=require(script.Reporters.TextReporterQuiet)local v=require(script.Reporters.TeamCityReporter)local function b(I,z)local s=u:getModules(I)local R=C.createPlan(s)local w=Q.runPlan(R)z(w)end local H={run=b,Expectation=I,TestBootstrap=u;TestEnum=z;TestPlan=s,TestPlanner=C;TestResults=R,TestRunner=Q;TestSession=w,Reporters={TextReporter=Z;TextReporterQuiet=r;TeamCityReporter=v}}return H
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