The Gallio.Model.Environments namespace provides an optional abstraction for configuring the local test environment during test exploration and execution.

Classes

  ClassDescription
BaseTestEnvironment
Base implementation of a test environment.
ConsoleTestEnvironment
Sets up console I/O streams.
ContextualLogTextWriter
A contextual log text writer messages to a named log stream in the log associated with the test execution context that is active at the time each message is written.
ContextualLogTraceListener
A contextual log trace listener messages to a named log stream in the log associated with the test execution context that is active at the time each message is written.
CustomTestEnvironment
Test environmnent hosting custom actions to be run on AppDomain/Thread set-up and teardown.
DefaultTestEnvironmentManager
Default implementation of a test environment manager.
TestEnvironmentAwareThreadTask
A thread task that uses the ITestEnvironmentManager to configure the test environment for the thread.
TestEnvironmentTraits
Specifies traits for ITestEnvironment.
TraceTestEnvironment
Sets up trace listeners.
UnhandledExceptionTestEnvironment
Logs unhandled exceptions instead of killing the AppDomain.
WindowsFormsTestEnvironment
Ensures Windows Forms applications can be tested safely.

Interfaces

  InterfaceDescription
ITestEnvironment
The test environment configures global behavior related to preparing the test execution environment for running tests and tearing them down.
ITestEnvironmentManager
The test environment manager configures test AppDomains and threads.

Remarks

The types in this namespace are provided as an optional convenience for implementing a ITestDriver.