<PackageReference Include="NUnit" Version="3.0.0-beta-1" />

NUnit.Framework

Namespace with 78 public types

Classes

 ApartmentAttribute
 Assert
 AssertionException
 AssertionHelper
 Assume
 AuthorAttribute
 CategoryAttribute
 CollectionAssert
 CombinatorialAttribute
 Contains
 CultureAttribute
 DatapointAttribute
 DatapointsAttribute
 DatapointSourceAttribute
 DescriptionAttribute
 ExplicitAttribute
 GlobalSettings
 Has
 IgnoreAttribute
 IgnoreException
 InconclusiveException
 Is
 Iz
 LevelOfParallelismAttribute LevelOfParallelismAttribute is used to set the number of worker threads that may be allocated by the framework for running tests.
 List
 ListMapper
 MaxTimeAttribute Summary description for MaxTimeAttribute.
 OneTimeSetUpAttribute Attribute used to identify a method that is called once to perform setup before any child tests are run.
 OneTimeTearDownAttribute Attribute used to identify a method that is called once after all the child tests have run. The method is guaranteed to be called, even if an exception is thrown.
 PairwiseAttribute Marks a test to use a pairwise join of any argument data provided. Arguments will be combined in such a way that all possible pairs of arguments are used.
 ParallelizableAttribute ParallelizableAttribute is used to mark tests that may be run in parallel.
 PlatformAttribute PlatformAttribute is used to mark a test fixture or an individual method as applying to a particular platform only.
 PostTestAttribute Attribute used to mark a class that contains one-time SetUp and/or TearDown methods that apply to all the tests in a namespace or an assembly.
 PreTestAttribute Attribute used to mark a class that contains one-time SetUp and/or TearDown methods that apply to all the tests in a namespace or an assembly.
 PropertyAttribute PropertyAttribute is used to attach information to a test as a name/value pair..
 RandomAttribute RandomAttribute is used to supply a set of random _values to a single parameter of a parameterized test.
 RangeAttribute RangeAttribute is used to supply a range of _values to an individual parameter of a parameterized test.
 RequiresMTAAttribute Marks a test that must run in the MTA, causing it to run in a separate thread if necessary. On methods, you may also use MTAThreadAttribute to serve the same purpose.
 RequiresSTAAttribute Marks a test that must run in the STA, causing it to run in a separate thread if necessary.
 RequiresThreadAttribute Marks a test that must run on a separate thread.
 SequentialAttribute Marks a test to use a Sequential join of any argument data provided. Arguments will be combined into test cases, taking the next value of each argument until all are used.
 SetCultureAttribute Summary description for SetCultureAttribute.
 SetUICultureAttribute Summary description for SetUICultureAttribute.
 SetUpAttribute Attribute used to mark a class that contains one-time SetUp and/or TearDown methods that apply to all the tests in a namespace or an assembly.
 SetUpFixtureAttribute SetUpFixtureAttribute is used to identify a SetUpFixture
 StringAssert Basic Asserts on strings.
 SuccessException Thrown when an assertion failed.
 TearDownAttribute Attribute used to identify a method that is called immediately after each test is run. The method is guaranteed to be called, even if an exception is thrown.
 TestAttribute Adding this attribute to a method within a class makes the method callable from the NUnit test runner. There is a property called Description which is optional which you can provide a more detailed test description. This class cannot be inherited.
 TestCaseAttribute TestCaseAttribute is used to mark parameterized test cases and provide them with their arguments.
 TestCaseData The TestCaseData class represents a set of arguments and other parameter info to be used for a parameterized test case. It is derived from ParameterSet and adds a fluent syntax for use in initializing the test case.
 TestCaseSourceAttribute TestCaseSourceAttribute indicates the source to be used to provide test cases for a test method.
 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
 TestFixtureSetUpAttribute Attribute used to identify a method that is called before any tests in a fixture are run.
 TestFixtureTearDownAttribute Attribute used to identify a method that is called after all the tests in a fixture have run. The method is guaranteed to be called, even if an exception is thrown.
 TestOfAttribute Indicates which class the test or test fixture is testing
 TheoryAttribute Adding this attribute to a method within a class makes the method callable from the NUnit test runner. There is a property called Description which is optional which you can provide a more detailed test description. This class cannot be inherited.
 Throws Helper class with properties and methods that supply constraints that operate on exceptions.
 TimeoutAttribute Used on a method, marks the test with a timeout value in milliseconds. The test will be run in a separate thread and is cancelled if the timeout is exceeded. Used on a class or assembly, sets the default timeout for all contained test methods.
 ValuesAttribute ValuesAttribute is used to provide literal arguments for an individual parameter of a test.
 ValueSourceAttribute ValueSourceAttribute indicates the source to be used to provide data for one parameter of a test method.

Enumerations

 ActionTargets The different targets a test action attribute can be applied to
 ParallelScope The ParallelScope enumeration permits specifying the degree to which a test and its descendants may be run in parallel.
 SpecialValue The SpecialValue enum is used to represent TestCase arguments that cannot be used as arguments to an Attribute.

Static Classes

 DirectoryAssert Asserts on Directories
 Does Helper class with properties and methods that supply a number of constraints used in Asserts.
 FileAssert Asserts on Files

Abstract Classes

 CombiningStrategyAttribute Marks a test to use a particular CombiningStrategy to join any parameter data provided. Since this is the default, the attribute is optional.
 DataAttribute The abstract base class for all data-providing attributes defined by NUnit. Used to select all data sources for a method, class or parameter.
 FixtureBuilderAttribute The abstract base class for all NUnit attributes that build fixtures. The derived class should implement IFixtureBuilder. It is not implemented by this class to allow for future fixture-building interfaces.
 IncludeExcludeAttribute Abstract base for Attributes that are used to include tests in the test run based on environmental settings.
 NUnitAttribute The abstract base class for all custom attributes defined by NUnit.
 ResultStateException Abstract base for Exceptions that terminate a test and provide a ResultState.
 TestActionAttribute Provide actions to execute before and after tests.
 TestCaseBuilderAttribute The abstract base class for all NUnit attributes that build test cases. The derived class should implement one of the test builder interfaces.

Interfaces

 ITestAction When implemented by an attribute, this interface implemented to provide actions to execute before and after tests.