public void Setup() { recorder = Substitute.For <ITestExecutionRecorder>(); converter = Substitute.For <ITestConverter>(); dumpxml = Substitute.For <IDumpXml>(); settings = Substitute.For <IAdapterSettings>(); executor = Substitute.For <INUnit3TestExecutor>(); executor.Settings.Returns(settings); }
public void Setup() { recorder = Substitute.For <IFrameworkHandle>(); converter = Substitute.For <ITestConverterCommon>(); dumpxml = Substitute.For <IDumpXml>(); settings = Substitute.For <IAdapterSettings>(); executor = Substitute.For <INUnit3TestExecutor>(); executor.Settings.Returns(settings); executor.FrameworkHandle.Returns(recorder); }
public void Setup() { recorder = Substitute.For <ITestExecutionRecorder>(); converter = Substitute.For <ITestConverter>(); dumpxml = Substitute.For <IDumpXml>(); }
public NUnitEventListener(ITestExecutionRecorder recorder, ITestConverter testConverter, IDumpXml dumpXml) { this.dumpXml = dumpXml; _recorder = recorder; _testConverter = testConverter; }