/// <summary> /// Start a run of the tests in the loaded TestPackage. The tests are run /// asynchronously and the listener interface is notified as it progresses. /// </summary> /// <param name="listener">An ITestEventHandler to receive events</param> /// <param name="filter">A TestFilter used to select tests</param> public void StartRun(ITestEventListener listener, TestFilter filter) { if (_runner == null) { throw new InvalidOperationException("RemoteTestAgent: StartRun called before Load"); } _runner.StartRun(listener, filter); }