local Y=require(script.Expectation)local J=require(script.TestBootstrap)local q=require(script.TestEnum)local G=require(script.TestPlan)local p=require(script.TestPlanner)local L=require(script.TestResults)local e=require(script.TestRunner)local S=require(script.TestSession)local Z=require(script.Reporters.TextReporter)local N=require(script.Reporters.TextReporterQuiet)local E=require(script.Reporters.TeamCityReporter)local function c(Y,q)local G=J:getModules(Y)local L=p.createPlan(G)local S=e.runPlan(L)q(S)end local M={run=c,Expectation=Y,TestBootstrap=J,TestEnum=q;TestPlan=G,TestPlanner=p,TestResults=L,TestRunner=e,TestSession=S;Reporters={TextReporter=Z,TextReporterQuiet=N,TeamCityReporter=E}}return M
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