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

NUnit.Framework

Namespace with 100 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
 NoTestsAttribute
 OneTimeSetUpAttribute
 OneTimeTearDownAttribute
 OrderAttribute
 PairwiseAttribute
 ParallelizableAttribute
 PlatformAttribute
 PropertyAttribute
 RandomAttribute
 RangeAttribute
 RepeatAttribute
 RequiresThreadAttribute
 RetryAttribute
 SequentialAttribute
 SetCultureAttribute
 SetUICultureAttribute
 SetUpAttribute
 SetUpFixtureAttribute
 SingleThreadedAttribute
 SuccessException
 TearDownAttribute
 TestAssemblyDirectoryResolveAttribute
 TestAttribute
 TestCaseAttribute
 TestCaseAttribute`1
 TestCaseAttribute`2
 TestCaseAttribute`3
 TestCaseAttribute`4
 TestCaseAttribute`5
 TestCaseData
 TestCaseData`1
 TestCaseData`2
 TestCaseData`3
 TestCaseData`4
 TestCaseData`5
 TestCaseSourceAttribute
 TestContext
 TestFixtureAttribute
 TestFixtureData
 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.
 UnhandledExceptionHandlingAttribute Specifies the handling behavior for unhandled exceptions in the assembly, class, or method.
 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.
 UnhandledExceptionHandling Flag to change how NUnit deals with exceptions unhandled by the test code.

Static Classes

 EqualNumericWithoutUsingConstraintExtensions Extension methods for .
 IEqualWithUsingConstraintExtensions Allows specifying a custom comparer for the .
 PlatformNames Canonical platform names for use with . Note that the platforms argument to supports syntax beyond just naming platforms, such as comma-delimited lists, but using these constants ensure that the precise name of a platform cannot be mistyped or misspelled. [Platform(Include = PlatformNames.Linux)] // or [Platform(Excludes = [PlatformNames.Mono,PlatformNames.MonoTouch])]

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.