A test runner provides the basic functionality for loading, exploring and running tests.

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

Syntax

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

Remarks

It abstracts away most concerns having to do with the execution of tests in isolated (possibly remote) domains.

The basic usage pattern of a test runner is as follows:

  • As a precondition, ensure that the runtime environment has been initialized.
  • Create the test runner.
  • Add event handlers and register extensions. ,
  • Initialize the runner.
  • Explore and/or Run the tests. and
  • Dispose the test runner.
  • Save or format the report contents as required using the reporting APIs.

Multiple test runs may be performed between initialization and disposal of the test runner.

See Also