function TestSession.new(r)local H={results=TestResults.new(r);nodeStack={},contextStack={},expectationContextStack={},hasFocusNodes=false}setmetatable(H,TestSession)return H end
--[[
	Create a TestSession related to the given TestPlan.

	The resulting TestResults object will be linked to this TestPlan.
]]
function TestSession.new(plan)
	local self = {
		results = TestResults.new(plan),
		nodeStack = {},
		contextStack = {},
		expectationContextStack = {},
		hasFocusNodes = false,
	}

	setmetatable(self, TestSession)

	return self
end
