Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public string GetCurrentTestRunFullName()
 {
     return(GhprMSTestSpecFlowHelper.GetFullName(_tc, _sc, _fc));
 }
Esempio n. 3
0
 public Guid GetCurrentTestRunGuid()
 {
     return(GhprMSTestSpecFlowHelper.GetFullNameForGuid(_tc, _sc, _fc).ToMd5HashGuid());
 }