public AssemblyTest(AssemblyTestConfiguration config, AssemblyTestControl control) { _config = config; Control = control; var path = _config.AssemblyPath; control.Title.Content = Path.GetFileName(path); _presenter = new TestResultPresenter(config, control); _presenter.ClassCollapsed += classCollapsed; _presenter.ClassExpanded += classExpanded; _scheduler = new TestScheduler(asyncRunTest); _watcher = new LenientFileWatcher( Path.GetDirectoryName(path), "*.dll"); _watcher.Changed += _scheduler.schedule; _scheduler.schedule(); }