public TdNetRunnerHelper(Assembly assembly, ITestListener testListener) { this.testListener = testListener; xunit = new Xunit2(new NullSourceInformationProvider(), assembly.GetLocalCodeBase()); toDispose.Push(xunit); }
public TdNetRunnerHelper(Assembly assembly, ITestListener testListener) { this.testListener = testListener; var assemblyFileName = assembly.GetLocalCodeBase(); configuration = ConfigReader.Load(assemblyFileName); var diagnosticMessageSink = new DiagnosticMessageSink(testListener, Path.GetFileNameWithoutExtension(assemblyFileName), configuration.DiagnosticMessagesOrDefault); xunit = new Xunit2(configuration.AppDomainOrDefault, new NullSourceInformationProvider(), assemblyFileName, shadowCopy: false, diagnosticMessageSink: diagnosticMessageSink); toDispose.Push(xunit); }