IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Interface implemented by all internal test runners in the engine, allowing them to pass back TestEngineResults to any higher-level runner that calls them. More...
Public Member Functions | |
TestEngineResult | Load () |
Load a TestPackage for possible execution More... | |
void | Unload () |
Unload any loaded TestPackage. If none is loaded, the call is ignored. More... | |
TestEngineResult | Reload () |
Reload the loaded test package. More... | |
int | CountTestCases (TestFilter filter) |
Count the test cases that would be run under the specified filter. More... | |
TestEngineResult | Run (ITestEventListener listener, TestFilter filter) |
Run the tests in the loaded TestPackage and return a test result. The tests are run synchronously and the listener interface is notified as it progresses. More... | |
AsyncTestEngineResult | RunAsync (ITestEventListener listener, TestFilter filter) |
Start a run of the tests in the loaded TestPackage. The tests are run asynchronously and the listener interface is notified as it progresses. More... | |
void | StartRun (ITestEventListener listener, TestFilter filter) |
Start a run of the tests in the loaded TestPackage. The tests are run asynchronously and the listener interface is notified as it progresses. More... | |
void | StopRun (bool force) |
Cancel the current test run. If no test is running, the call is ignored. More... | |
TestEngineResult | Explore (TestFilter filter) |
Explore a loaded TestPackage and return information about the tests found. More... | |
Interface implemented by all internal test runners in the engine, allowing them to pass back TestEngineResults to any higher-level runner that calls them.
TestEngineResult NUnit.Engine.ITestEngineRunner.Load | ( | ) |
Load a TestPackage for possible execution
Implemented in NUnit.Engine.Runners.AbstractTestRunner, NUnit.Engine.Runners.MasterTestRunner, and NUnit.Engine.Agents.RemoteTestAgent.
Referenced by NUnit.Engine.Agents.RemoteTestAgent.Load(), NUnit.Engine.Runners.MasterTestRunner.LoadPackage(), and NUnit.Engine.Runners.ProcessRunner.LoadPackage().
void NUnit.Engine.ITestEngineRunner.Unload | ( | ) |
Unload any loaded TestPackage. If none is loaded, the call is ignored.
Implemented in NUnit.Engine.Runners.AbstractTestRunner, and NUnit.Engine.Agents.RemoteTestAgent.
Referenced by NUnit.Engine.Agents.RemoteTestAgent.Unload(), NUnit.Engine.Runners.MasterTestRunner.UnloadPackage(), NUnit.Engine.Runners.AggregatingTestRunner.UnloadPackage(), and NUnit.Engine.Runners.ProcessRunner.UnloadPackage().
TestEngineResult NUnit.Engine.ITestEngineRunner.Reload | ( | ) |
Reload the loaded test package.
InvalidOperationException | If no package is loaded. |
Implemented in NUnit.Engine.Runners.AbstractTestRunner, NUnit.Engine.Runners.MasterTestRunner, and NUnit.Engine.Agents.RemoteTestAgent.
Referenced by NUnit.Engine.Agents.RemoteTestAgent.Reload().
int NUnit.Engine.ITestEngineRunner.CountTestCases | ( | TestFilter | filter | ) |
Count the test cases that would be run under the specified filter.
filter | A TestFilter |
Implemented in NUnit.Engine.Runners.AbstractTestRunner, and NUnit.Engine.Agents.RemoteTestAgent.
Referenced by NUnit.Engine.Agents.RemoteTestAgent.CountTestCases(), NUnit.Engine.Runners.MasterTestRunner.CountTests(), NUnit.Engine.Runners.AggregatingTestRunner.CountTests(), and NUnit.Engine.Runners.ProcessRunner.CountTests().
TestEngineResult NUnit.Engine.ITestEngineRunner.Run | ( | ITestEventListener | listener, |
TestFilter | filter | ||
) |
Run the tests in the loaded TestPackage and return a test result. The tests are run synchronously and the listener interface is notified as it progresses.
listener | An ITestEventHandler to receive events |
filter | A TestFilter used to select tests |
Implemented in NUnit.Engine.Runners.AbstractTestRunner, NUnit.Engine.Runners.MasterTestRunner, and NUnit.Engine.Agents.RemoteTestAgent.
Referenced by NUnit.Engine.Agents.RemoteTestAgent.Run(), NUnit.Engine.Runners.MasterTestRunner.RunTests(), NUnit.Engine.Runners.AggregatingTestRunner.RunTests(), and NUnit.Engine.Runners.ProcessRunner.RunTests().
AsyncTestEngineResult NUnit.Engine.ITestEngineRunner.RunAsync | ( | ITestEventListener | listener, |
TestFilter | filter | ||
) |
Start a run of the tests in the loaded TestPackage. The tests are run asynchronously and the listener interface is notified as it progresses.
listener | An ITestEventHandler to receive events |
filter | A TestFilter used to select tests |
Implemented in NUnit.Engine.Runners.AbstractTestRunner, NUnit.Engine.Runners.MasterTestRunner, and NUnit.Engine.Agents.RemoteTestAgent.
Referenced by NUnit.Engine.Agents.RemoteTestAgent.RunAsync(), and NUnit.Engine.Runners.ProcessRunner.RunTestsAsync().
void NUnit.Engine.ITestEngineRunner.StartRun | ( | ITestEventListener | listener, |
TestFilter | filter | ||
) |
Start a run of the tests in the loaded TestPackage. The tests are run asynchronously and the listener interface is notified as it progresses.
listener | An ITestEventHandler to receive events |
filter | A TestFilter used to select tests |
Implemented in NUnit.Engine.Runners.AbstractTestRunner, and NUnit.Engine.Agents.RemoteTestAgent.
void NUnit.Engine.ITestEngineRunner.StopRun | ( | bool | force | ) |
Cancel the current test run. If no test is running, the call is ignored.
force | If true, force a stop by cancelling threads if necessary. |
Implemented in NUnit.Engine.Agents.RemoteTestAgent, NUnit.Engine.Runners.ProcessRunner, NUnit.Engine.Runners.AggregatingTestRunner, NUnit.Engine.Runners.AbstractTestRunner, NUnit.Engine.Runners.DirectTestRunner, and NUnit.Engine.Runners.MasterTestRunner.
Referenced by NUnit.Engine.Runners.MasterTestRunner.StopRun(), NUnit.Engine.Runners.ProcessRunner.StopRun(), and NUnit.Engine.Agents.RemoteTestAgent.StopRun().
TestEngineResult NUnit.Engine.ITestEngineRunner.Explore | ( | TestFilter | filter | ) |
Explore a loaded TestPackage and return information about the tests found.
filter | Criteria used to filter the search results |
Implemented in NUnit.Engine.Runners.MasterTestRunner, NUnit.Engine.Runners.AbstractTestRunner, and NUnit.Engine.Agents.RemoteTestAgent.
Referenced by NUnit.Engine.Agents.RemoteTestAgent.Explore(), NUnit.Engine.Runners.AggregatingTestRunner.ExploreTests(), NUnit.Engine.Runners.MasterTestRunner.ExploreTests(), and NUnit.Engine.Runners.ProcessRunner.ExploreTests().