local v=require(script.Expectation)local V=require(script.TestBootstrap)local S=require(script.TestEnum)local t=require(script.TestPlan)local i=require(script.TestPlanner)local R=require(script.TestResults)local E=require(script.TestRunner)local Z=require(script.TestSession)local x=require(script.Reporters.TextReporter)local z=require(script.Reporters.TextReporterQuiet)local M=require(script.Reporters.TeamCityReporter)local function U(v,S)local t=V:getModules(v)local R=i.createPlan(t)local Z=E.runPlan(R)S(Z)end local T={run=U,Expectation=v;TestBootstrap=V,TestEnum=S,TestPlan=t,TestPlanner=i;TestResults=R,TestRunner=E,TestSession=Z;Reporters={TextReporter=x,TextReporterQuiet=z,TeamCityReporter=M}}return T
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