local a=require(script.Expectation)local c=require(script.TestBootstrap)local G=require(script.TestEnum)local y=require(script.TestPlan)local R=require(script.TestPlanner)local h=require(script.TestResults)local L=require(script.TestRunner)local M=require(script.TestSession)local J=require(script.Reporters.TextReporter)local O=require(script.Reporters.TextReporterQuiet)local Z=require(script.Reporters.TeamCityReporter)local function x(a,G)local y=c:getModules(a)local h=R.createPlan(y)local M=L.runPlan(h)G(M)end local j={run=x;Expectation=a,TestBootstrap=c;TestEnum=G,TestPlan=y,TestPlanner=R;TestResults=h,TestRunner=L,TestSession=M;Reporters={TextReporter=J;TextReporterQuiet=O;TeamCityReporter=Z}}return j
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