Exemple #1
0
 public void Initialize(RuntimePluginEvents runtimePluginEvents, RuntimePluginParameters runtimePluginParameters)
 {
     runtimePluginEvents.CustomizeTestThreadDependencies += (sender, args) => { _specificTestRunnerDependencies(args.ObjectContainer); };
 }
Exemple #2
0
 public void Initialize(RuntimePluginEvents runtimePluginEvents, RuntimePluginParameters runtimePluginParameters)
 {
     runtimePluginEvents.CustomizeGlobalDependencies += (sender, args) =>
                                                        {
                                                            if (args.RuntimeConfiguration.StopAtFirstError)
                                                                args.ObjectContainer.RegisterTypeAs<CustomTestRunnerFactory, ITestRunnerFactory>();
                                                        };
 }
Exemple #3
0
 public void Initialize(RuntimePluginEvents runtimePluginEvents, RuntimePluginParameters runtimePluginParameters)
 {
     runtimePluginEvents.CustomizeScenarioDependencies += (sender, args) => { _specificScenarioDependencies(args.ObjectContainer); };
 }
Exemple #4
0
 public void Initialize(RuntimePluginEvents runtimePluginEvents, RuntimePluginParameters runtimePluginParameters)
 {
     runtimePluginEvents.RegisterGlobalDependencies += (sender, args) => args.ObjectContainer.RegisterTypeAs<CustomDependency, ICustomDependency>();
 }
Exemple #5
0
 public void Initialize(RuntimePluginEvents runtimePluginEvents, RuntimePluginParameters runtimePluginParameters)
 {
     runtimePluginEvents.ConfigurationDefaults += (sender, args) => { specifyDefaults(args.RuntimeConfiguration); };
 }
 protected virtual void LoadPlugin(PluginDescriptor pluginDescriptor, IRuntimePluginLoader pluginLoader, RuntimePluginEvents runtimePluginEvents)
 {
     var plugin = pluginLoader.LoadPlugin(pluginDescriptor);
     var runtimePluginParameters = new RuntimePluginParameters
     {
         Parameters = pluginDescriptor.Parameters
     };
     plugin.Initialize(runtimePluginEvents, runtimePluginParameters);
 }