function TestSession.pushNode(e,Z)local a=TestResults.createNode(Z)local c=e.nodeStack[#e.nodeStack]or e.results local M=e.contextStack[#e.contextStack]local T=Context.new(M)table.insert(c.children,a)table.insert(e.nodeStack,a)table.insert(e.contextStack,T)end

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
