public static IDisposable Set(ScenarioReport report) { Current.Value = report; return(new Disposer()); }
public ScenarioReportingXunitTestMethodRunner(ScenarioReport report, ITestMethod testMethod, IReflectionTypeInfo @class, IReflectionMethodInfo method, IEnumerable <ScenarioReportingXunitTestCase> testCases, IMessageSink diagnosticMessageSink, IMessageBus messageBus, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource, object[] constructorArguments) : base(testMethod, @class, method, testCases, messageBus, aggregator, cancellationTokenSource) { _report = report; _diagnosticMessageSink = diagnosticMessageSink; _constructorArguments = constructorArguments; }