Registers a test runner extension.
Namespace:
Gallio.RunnerAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
void RegisterExtension( ITestRunnerExtension extension ) |
| Visual Basic (Declaration) |
|---|
Sub RegisterExtension ( _ extension As ITestRunnerExtension _ ) |
Parameters
- extension
- Type: Gallio.Runner.Extensions..::.ITestRunnerExtension
The test runner extension to register.
Remarks
The extension should already have been configured before this method is called. Its Install(ITestRunnerEvents, ILogger) method will be called to register the extension with the test runner as part of the initialization of the test runner.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if extension is null. |
| System..::.InvalidOperationException | Thrown if the test runner has already been initialized. |
