NUnit.Framework.Builders Namespace

Documentation for this section has not yet been entered.

Remarks

To be added.

Classes

TypeReason
CombinatorialStrategy CombinatorialStrategy creates test cases by using all possible combinations of the parameter data.
CombinatorialTestCaseProvider CombinatorialTestCaseProvider creates test cases from individual parameter data values, combining them using the CombiningStrategy indicated by an Attribute used on the test method.
CombiningStrategy CombiningStrategy is the abstract base for classes that know how to combine values provided for individual test parameters to create a set of test cases.
DataAttributeTestCaseProvider DataAttributeTestCaseProvider provides data for methods annotated with any DataAttribute. For correct operation, any new or custom Attributes must implement one of the following interfaces: ITestCaseData ITestCaseSource
DatapointProviderDocumentation for this section has not yet been entered.
NUnitTestCaseBuilder Class to build ether a parameterized or a normal NUnitTestMethod. There are four cases that the builder must deal with: 1. The method needs no params and none are provided 2. The method needs params and they are provided 3. The method needs no params but they are provided in error 4. The method needs params but they are not provided This could have been done using two different builders, but it turned out to be simpler to have just one. The BuildFrom method takes a different branch depending on whether any parameters are provided, but all four cases are dealt with in lower-level methods
NUnitTestFixtureBuilder Built-in SuiteBuilder for NUnit TestFixture
PairwiseStrategy PairwiseStrategy creates test cases by combining the parameter data so that all possible pairs of data items are used.
ParameterDataProvider ParameterDataProvider supplies individual argument values for single parameters using attributes derived from DataAttribute.
SequentialStrategy SequentialStrategy creates test cases by using all of the parameter data sources in parallel, substituting null when any of them run out of data.