public static void Initialize(string assemblyPath) { AppDomainExecutor.Initialize(assemblyPath); DeleteDatabase(); _monitor = AppDomainExecutor.StartAssembly("monitor\\HealthMonitoring.Monitors.SelfHost.exe"); _api = AppDomainExecutor.StartAssembly("api\\HealthMonitoring.SelfHost.exe"); EnsureProcessesAlive(); }
private void When_monitor_process_with_that_tag_starts() { _monitorProcess = AppDomainExecutor.StartAssembly("monitor2\\HealthMonitoring.Monitors.SelfHost.exe"); }