NUnit.Framework.Internal.Execution
Namespace with 10 public types
Classes
CompositeWorkItem
A CompositeWorkItem represents a test suite and
encapsulates the execution of the suite as well
as all its child tests.
CountdownEvent
A simplified implementation of .NET 4 CountdownEvent
for use in earlier versions of .NET. Only the methods
used by NUnit are implemented.
EventListenerTextWriter
EventListenerTextWriter sends text output to the currently active
ITestEventListener in the form of a TestOutput object. If no event
listener is active in the contet, or if there is no context,
the output is forwarded to the supplied default writer.
SimpleWorkItem
A SimpleWorkItem represents a single test case and is
marked as completed immediately upon execution. This
class is also used for skipped or ignored test suites.
SimpleWorkItemDispatcher
SimpleWorkItemDispatcher handles execution of WorkItems by
directly executing them. It is provided so that a dispatcher
is always available in the context, thereby simplifying the
code needed to run child tests.
TextCapture
The TextCapture class intercepts console output and writes it
to the current execution context, if one is present on the thread.
If no execution context is found, the output is written to a
default destination, normally the original destination of the
intercepted output.
Enumerations
WorkItemState
The current state of a work item
Static Classes
CommandBuilder
A utility class to create TestCommands
Abstract Classes
WorkItem
A WorkItem may be an individual test case, a fixture or
a higher level grouping of tests. All WorkItems inherit
from the abstract WorkItem class, which uses the template
pattern to allow derived classes to perform work in
whatever way is needed.
A WorkItem is created with a particular TestExecutionContext
and is responsible for re-establishing that context in the
current thread before it begins or resumes execution.
Interfaces
IWorkItemDispatcher
An IWorkItemDispatcher handles execution of work items.