function TestSession.pushNode(e,t)local o=TestResults.createNode(t)local R=e.nodeStack[#e.nodeStack]or e.results local s=e.contextStack[#e.contextStack]local q=Context.new(s)table.insert(R.children,o)table.insert(e.nodeStack,o)table.insert(e.contextStack,q)end
--[[
	Create a new test result node and push it onto the navigation stack.
]]
function TestSession:pushNode(planNode)
	local node = TestResults.createNode(planNode)
	local lastNode = self.nodeStack[#self.nodeStack] or self.results
	local lastContext = self.contextStack[#self.contextStack]
	local context = Context.new(lastContext)

	table.insert(lastNode.children, node)
	table.insert(self.nodeStack, node)
	table.insert(self.contextStack, context)
end
