IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Interface implemented by all test runners. More...
Public Member Functions | |
XmlNode | Load () |
Load a TestPackage for possible execution More... | |
void | Unload () |
Unload any loaded TestPackage. If none is loaded, the call is ignored. More... | |
XmlNode | Reload () |
Reload the current TestPackage More... | |
int | CountTestCases (TestFilter filter) |
Count the test cases that would be run under the specified filter. More... | |
XmlNode | 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... | |
ITestRun | 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 | StopRun (bool force) |
Cancel the ongoing test run. If no test is running, the call is ignored. More... | |
XmlNode | Explore (TestFilter filter) |
Explore a loaded TestPackage and return information about the tests found. More... | |
Properties | |
bool | IsTestRunning [get] |
Get a flag indicating whether a test is running More... | |
Interface implemented by all test runners.
XmlNode NUnit.Engine.ITestRunner.Load | ( | ) |
Load a TestPackage for possible execution
This method is normally optional, since Explore and Run call it automatically when necessary. The method is kept in order to make it easier to convert older programs that use it.
Implemented in NUnit.Engine.Runners.MasterTestRunner.
void NUnit.Engine.ITestRunner.Unload | ( | ) |
Unload any loaded TestPackage. If none is loaded, the call is ignored.
XmlNode NUnit.Engine.ITestRunner.Reload | ( | ) |
Reload the current TestPackage
Implemented in NUnit.Engine.Runners.MasterTestRunner.
int NUnit.Engine.ITestRunner.CountTestCases | ( | TestFilter | filter | ) |
Count the test cases that would be run under the specified filter.
filter | A TestFilter |
XmlNode NUnit.Engine.ITestRunner.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 | The listener that is notified as the run progresses |
filter | A TestFilter used to select tests |
Implemented in NUnit.Engine.Runners.MasterTestRunner.
ITestRun NUnit.Engine.ITestRunner.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 | The listener that is notified as the run progresses |
filter | A TestFilter used to select tests |
Implemented in NUnit.Engine.Runners.MasterTestRunner.
void NUnit.Engine.ITestRunner.StopRun | ( | bool | force | ) |
Cancel the ongoing test run. If no test is running, the call is ignored.
force | If true, cancel any ongoing test threads, otherwise wait for them to complete. |
Implemented in NUnit.Engine.Runners.MasterTestRunner.
XmlNode NUnit.Engine.ITestRunner.Explore | ( | TestFilter | filter | ) |
Explore a loaded TestPackage and return information about the tests found.
filter | The TestFilter to be used in selecting tests to explore. |
Implemented in NUnit.Engine.Runners.MasterTestRunner.
|
get |
Get a flag indicating whether a test is running