Initializes the test runner.
Namespace:
Gallio.RunnerAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
void Initialize( TestRunnerOptions testRunnerOptions, ILogger logger, IProgressMonitor progressMonitor ) |
| Visual Basic (Declaration) |
|---|
Sub Initialize ( _ testRunnerOptions As TestRunnerOptions, _ logger As ILogger, _ progressMonitor As IProgressMonitor _ ) |
Parameters
- testRunnerOptions
- Type: Gallio.Runner..::.TestRunnerOptions
The test runner options.
- logger
- Type: Gallio.Runtime.Logging..::.ILogger
The logger.
- progressMonitor
- Type: Gallio.Runtime.ProgressMonitoring..::.IProgressMonitor
The progress monitor.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if testRunnerOptions, logger or progressMonitor is null. |
| System..::.InvalidOperationException | Thrown if the runner is already initialized. |
| System..::.ObjectDisposedException | Thrown if the runner has been disposed. |
