Exemplo n.º 1
0
 public override void Configure()
 {
     MSTestPluginConfiguration.Add();
     ExecutionTimePlugin.Add();
     APIPluginsConfiguration.AddAssertExtensionsBddLogging();
     APIPluginsConfiguration.AddApiAssertExtensionsDynamicTestCases();
     APIPluginsConfiguration.AddAssertExtensionsBugReporting();
     APIPluginsConfiguration.AddApiAuthenticationStrategies();
     APIPluginsConfiguration.AddRetryFailedRequests();
     APIPluginsConfiguration.AddLogExecution();
 }
Exemplo n.º 2
0
        public override void Configure()
        {
            lock (_lockObject)
            {
                if (!_arePluginsAlreadyInitialized)
                {
                    NUnitPluginConfiguration.Add();
                    ExecutionTimePlugin.Add();
                    VideoRecorderPluginConfiguration.AddNUnit();
                    ScreenshotsPluginConfiguration.AddNUnit();
                    DynamicTestCasesPlugin.Add();
                    AllurePlugin.Add();
                    BugReportingPlugin.Add();

                    WebPluginsConfiguration.AddBrowserLifecycle();
                    WebPluginsConfiguration.AddLogExecutionLifecycle();
                    WebPluginsConfiguration.AddControlDataHandlers();
                    WebPluginsConfiguration.AddValidateExtensionsBddLogging();
                    WebPluginsConfiguration.AddValidateExtensionsDynamicTestCases();
                    WebPluginsConfiguration.AddValidateExtensionsBugReporting();
                    WebPluginsConfiguration.AddLayoutAssertionExtensionsBddLogging();
                    WebPluginsConfiguration.AddLayoutAssertionExtensionsDynamicTestCases();
                    WebPluginsConfiguration.AddLayoutAssertionExtensionsBugReporting();
                    WebPluginsConfiguration.AddElementsBddLogging();
                    WebPluginsConfiguration.AddDynamicTestCases();
                    WebPluginsConfiguration.AddBugReporting();
                    WebPluginsConfiguration.AddHighlightComponents();
                    WebPluginsConfiguration.AddNUnitGoogleLighthouse();
                    WebPluginsConfiguration.AddJavaScriptErrorsPlugin();

                    APIPluginsConfiguration.AddAssertExtensionsBddLogging();
                    APIPluginsConfiguration.AddApiAssertExtensionsDynamicTestCases();
                    APIPluginsConfiguration.AddAssertExtensionsBugReporting();
                    APIPluginsConfiguration.AddApiAuthenticationStrategies();
                    APIPluginsConfiguration.AddRetryFailedRequests();
                    APIPluginsConfiguration.AddLogExecution();

                    if (ConfigurationService.GetSection <WebSettings>().FullPageScreenshotsEnabled)
                    {
                        WebScreenshotPluginConfiguration.UseFullPageScreenshotsOnFail();
                    }
                    else
                    {
                        WebScreenshotPluginConfiguration.UseVanillaWebDriverScreenshotsOnFail();
                    }

                    _arePluginsAlreadyInitialized = true;
                }
            }
        }
Exemplo n.º 3
0
        public override void Configure()
        {
            lock (_lockObject)
            {
                if (!_arePluginsAlreadyInitialized)
                {
                    NUnitPluginConfiguration.Add();
                    ExecutionTimePlugin.Add();
                    DynamicTestCasesPlugin.Add();
                    AllurePlugin.Add();
                    BugReportingPlugin.Add();
                    APIPluginsConfiguration.AddAssertExtensionsBddLogging();
                    APIPluginsConfiguration.AddApiAssertExtensionsDynamicTestCases();
                    APIPluginsConfiguration.AddAssertExtensionsBugReporting();
                    APIPluginsConfiguration.AddApiAuthenticationStrategies();
                    APIPluginsConfiguration.AddRetryFailedRequests();
                    APIPluginsConfiguration.AddLogExecution();

                    _arePluginsAlreadyInitialized = true;
                }
            }
        }