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