C# (CSharp) NUnit.Framework.Api Namespace

Classes

Name Description
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.ActionCallback
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.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.
FrameworkControllerTests
FrameworkControllerTests.CallbackEventHandler
NUnitTestAssemblyRunner Implementation of ITestAssemblyRunner
ResultStateTests
TestAssemblyRunnerTests