Namespace NUnit.Framework.Api
Classes
DefaultTestAssemblyBuilder
DefaultTestAssemblyBuilder loads a single assembly and builds a TestSuite containing test fixtures present in the assembly.
FrameworkController
FrameworkController provides a facade for use in loading, browsing and running tests without requiring a reference to the NUnit framework. All calls are encapsulated in constructors for this class and its nested classes, which only require the types of the Common Type System as arguments.
The controller supports four actions: Load, Explore, Count and Run. They are intended to be called by a driver, which should allow for proper sequencing of calls. Load must be called before any of the other actions. The driver may support other actions, such as reload on run, by combining these calls.
FrameworkController.CountTestsAction
CountTestsAction counts the number of test cases in the loaded TestSuite held by the FrameworkController.
FrameworkController.ExploreTestsAction
ExploreTestsAction returns info about the tests in an assembly
FrameworkController.FrameworkControllerAction
FrameworkControllerAction is the base class for all actions performed against a FrameworkController.
FrameworkController.LoadTestsAction
LoadTestsAction loads a test into the FrameworkController
FrameworkController.RunAsyncAction
RunAsyncAction initiates an asynchronous test run, returning immediately
FrameworkController.RunTestsAction
RunTestsAction runs the loaded TestSuite held by the FrameworkController.
FrameworkController.StopRunAction
StopRunAction stops an ongoing run.
NUnitTestAssemblyRunner
Implementation of ITestAssemblyRunner
Interfaces
ITestAssemblyBuilder
The ITestAssemblyBuilder interface is implemented by a class that is able to build a suite of tests given an assembly or an assembly filename.
ITestAssemblyRunner
The ITestAssemblyRunner interface is implemented by classes that are able to execute a suite of tests loaded from an assembly.