public XUnitExecutionSession CreateExecutionSession(bool reportToMonitor) { session = new XUnitExecutionSession(this, reportToMonitor); foreach (var test in Tests) { var xunitTest = test as IExecutableTest; if (xunitTest != null) { var childSession = xunitTest.CreateExecutionSession(reportToMonitor); session.AddChildSession(childSession); } } return(session); }
public XUnitExecutionSession CreateExecutionSession(bool reportToMonitor) { session = new XUnitExecutionSession(this, reportToMonitor); return(session); }