A test runner extension plugs augments the behavior of a ITestRunner by attaching new behaviors to its event handlers.

Namespace:  Gallio.Runner.Extensions
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public interface ITestRunnerExtension
Visual Basic (Declaration)
Public Interface ITestRunnerExtension

Remarks

Typical extension use-cases:

  • Custom logging by listening for events of interest and writing messages to a file or to another location.
  • Custom configuration of test package loading, test exploration and test execution options by listening for the starting events of the phase and modifying the options in place.

More complex extensions such as integration of new test frameworks are typically performed by plugins because new runtime services must be registered to support them.

See Also