Registers a test runner extension.

Namespace:  Gallio.Runner
Assembly:  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

ExceptionCondition
System..::.ArgumentNullExceptionThrown if extension is null.
System..::.InvalidOperationExceptionThrown if the test runner has already been initialized.

See Also