<PackageReference Include="NUnit" Version="4.5.1" />

NUnit.Framework

Namespace with 91 public types

Classes

 ApartmentAttribute
 AssertionException
 AuthorAttribute
 CancelAfterAttribute
 CategoryAttribute
 CombinatorialAttribute
 CultureAttribute
 DatapointAttribute
 DatapointsAttribute
 DatapointSourceAttribute
 DefaultFloatingPointToleranceAttribute
 DescriptionAttribute
 ExplicitAttribute
 FixtureLifeCycleAttribute
 IgnoreAttribute
 IgnoredTestCaseData
 IgnoreException
 InconclusiveException
 LevelOfParallelismAttribute
 MaxTimeAttribute
 MultipleAssertException
 NetPlatformAttribute
 NonParallelizableAttribute
 NonTestAssemblyAttribute
 OneTimeSetUpAttribute
 OneTimeTearDownAttribute
 OrderAttribute
 PairwiseAttribute
 ParallelizableAttribute
 PlatformAttribute
 PropertyAttribute
 RandomAttribute
 RangeAttribute
 RepeatAttribute
 RequiresThreadAttribute
 RetryAttribute Specifies that a test method should be rerun on failure up to the specified maximum number of times.
 SequentialAttribute Marks a test to use a sequential join of any provided argument data. Arguments will be combined into test cases, taking the next value of each argument until all are used.
 SetCultureAttribute Sets the current Culture on an assembly, test fixture or test method for the duration of a test. The culture remains set until the test or fixture completes and is then reset to its original value.
 SetUICultureAttribute Sets the current UI Culture on an assembly, test fixture or test method for the duration of a test. The UI culture remains set until the test or fixture completes and is then reset to its original value.
 SetUpAttribute Identifies a method to be called immediately before each test is run.
 SetUpFixtureAttribute Identifies a class as containing or methods for all the test fixtures under a given namespace.
 SingleThreadedAttribute Marks a test fixture as requiring all child tests to be run on the same thread as the OneTimeSetUp and OneTimeTearDown. A flag in the is set forcing all child tests to be run sequentially on the current thread. Any setting is ignored.
 SuccessException Thrown when an assertion failed.
 TearDownAttribute Identifies a method to be called immediately after each test is run. The method is guaranteed to be called, even if an exception is thrown.
 TestAssemblyDirectoryResolveAttribute Marks a test assembly as needing a special assembly resolution hook that will explicitly search the test assembly's directory for dependent assemblies. This works around a conflict between mixed-mode assembly initialization and tests running in their own AppDomain in some cases.
 TestAttribute Marks the method as callable from the NUnit test runner.
 TestCaseAttribute Marks a method as a parameterized test suite and provides arguments for each test case.
 TestCaseData
 TestCaseData`1 Marks a method as a parameterized test suite and provides arguments for each test case.
 TestCaseData`2 Marks a method as a parameterized test suite and provides arguments for each test case.
 TestCaseData`3 Marks a method as a parameterized test suite and provides arguments for each test case.
 TestCaseData`4 Marks a method as a parameterized test suite and provides arguments for each test case.
 TestCaseData`5 Marks a method as a parameterized test suite and provides arguments for each test case.
 TestCaseSourceAttribute Indicates the source to be used to provide test fixture instances for a test class. The name parameter is a representing the name of the source used to provide test cases. It has the following characteristics:It must be a static field, property, or method in the same class as the test case.It must return an or a type that implements , such as an array, a List, or your own iterator.Each item returned by the enumerator must be compatible with the signature of the method on which the attribute appears.
 TestContext Provide the context information of the current test. This is an adapter for the internal ExecutionContext class, hiding the internals from the user test.
 TestFixtureAttribute Marks the class as a TestFixture.
 TestFixtureData The TestFixtureData class represents a set of arguments and other parameter info to be used for a parameterized fixture. It is derived from TestFixtureParameters and adds a fluent syntax for use in initializing the fixture.
 TestFixtureSourceAttribute Identifies the source used to provide test fixture instances for a test class.
 TestOfAttribute Indicates the method or class the assembly, test fixture or test method is testing.
 TestParameters TestParameters class holds any named parameters supplied to the test run
 TheoryAttribute Indicates that a test method is a theory and can be run multiple times with different input data.
 TimeoutAttribute Applies a timeout in milliseconds to a test. When applied to a method, the test is cancelled if the timeout is exceeded. When applied to a class or assembly, the default timeout is set for all contained test methods.
 ValuesAttribute Provides literal arguments for an individual parameter of a test.
 ValueSourceAttribute Indicates the source used to provide data for one parameter of a test method.

Structures

 NUnitString A class to allow postponing the actual formatting of interpolated strings.

Enumerations

 ActionTargets The different targets a test action attribute can be applied to
 LifeCycle Specifies the life cycle for a test fixture.
 ParallelScope Specifies the degree to which a test, and its descendants, may be run in parallel.

Static Classes

 EqualNumericWithoutUsingConstraintExtensions Extension methods for .
 IEqualWithUsingConstraintExtensions Allows specifying a custom comparer for the .

Abstract Classes

 Assert The Assert class contains a collection of static methods that implement the most common assertions used in NUnit.
 AssertBase Base class for different Assert, containing helper functions
 Assume Provides static methods to express the assumptions that must be met for a test to give a meaningful result. If an assumption is not met, the test should produce an inconclusive result.
 CombiningStrategyAttribute Marks a test as using a particular CombiningStrategy to join any supplied parameter data. Since this is the default, the attribute is optional.
 Contains Helper class with properties and methods that supply a number of constraints used in Asserts.
 Does Helper class with properties and methods that supply a number of constraints used in Asserts.
 ExecutionHookAttribute Abstract base attribute class for activating execution hooks.
 ExecutionHookMethodsAttribute Abstract base attribute class for defining execution hooks methods.
 Has Helper class with properties and methods that supply a number of constraints used in Asserts.
 IncludeExcludeAttribute Abstract base for attributes that are used to include tests in the test run based on environmental settings.
 Is Helper class with properties and methods that supply a number of constraints used in Asserts.
 Iz The Iz class is a synonym for Is intended for use in VB, which regards Is as a keyword.
 NUnitAttribute Abstract base class for all custom attributes defined by NUnit.
 ResultStateException Abstract base for Exceptions that terminate a test and provide a ResultState.
 TestActionAttribute Abstract attribute providing actions to execute before and after tests.
 Throws Helper class with properties and methods that supply constraints that operate on exceptions.
 Warn Provides static methods to express conditions that must be met for the test to succeed. If any test fails, a warning is issued.

Interfaces

 IEqualWithUsingConstraint`1 Interface for equal constraints which support user comparisons.
 ITestAction When implemented by an attribute, this interface implemented to provide actions to execute before and after tests.