local q=require(script.Expectation)local Z=require(script.TestBootstrap)local S=require(script.TestEnum)local B=require(script.TestPlan)local C=require(script.TestPlanner)local Y=require(script.TestResults)local O=require(script.TestRunner)local D=require(script.TestSession)local G=require(script.Reporters.TextReporter)local f=require(script.Reporters.TextReporterQuiet)local L=require(script.Reporters.TeamCityReporter)local function v(q,S)local B=Z:getModules(q)local Y=C.createPlan(B)local D=O.runPlan(Y)S(D)end local p={run=v,Expectation=q;TestBootstrap=Z,TestEnum=S,TestPlan=B;TestPlanner=C;TestResults=Y,TestRunner=O;TestSession=D,Reporters={TextReporter=G;TextReporterQuiet=f;TeamCityReporter=L}}return p
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