public void Initialize(RuntimePluginEvents runtimePluginEvents, RuntimePluginParameters runtimePluginParameters) { ReporterManager.Initialize(TestingFramework.SpecFlow, new GhprSpecFlowTestDataProvider()); var specFlowHelper = new GhprSpecFlowHelper(); GhprPluginHelper.Init(specFlowHelper); runtimePluginEvents.CustomizeTestThreadDependencies += CustomizeTestThreadDependencies; }
public void Initialize(RuntimePluginEvents runtimePluginEvents, RuntimePluginParameters runtimePluginParameters) { ReporterManager.Initialize(TestingFramework.SpecFlow, new GhprMSTestSpecFlowTestDataProvider()); ILogger logger = new EmptyLogger(); ReporterManager.Action(r => { logger = r.Logger; }); var specFlowHelper = new GhprMSTestSpecFlowHelper(logger); GhprPluginHelper.Init(specFlowHelper); runtimePluginEvents.CustomizeTestThreadDependencies += CustomizeTestThreadDependencies; }