The MbUnit.Framework namespace provides the MbUnit Test Framework, an extensible attribute-based test framework for .Net.

Classes

  ClassDescription
AbstractComparerAttribute
An abstract base class for custom comparer attributes.
AnnotationAttribute
Associates an annotation message of the specified type with the code element.
ApartmentStateAttribute
Sets the apartment state to be used to run the decorated test and its children unless subsequently overridden.
AssemblyFixtureAttribute
Declares that a class contains assembly-level setup and teardown methods.
AssemblyResolverAttribute
Registers a custom assembly resolver.
Assert
Defines a set of assertions that enable a test to verify the expected behavior of the subject under test.
Assert..::.Xml
Assertions for XML data.
AssertEx
Provides extended assertions for .Net 3.5.
AssertExceptionAttribute
Declares that the associated test's TestOutcome should be Passed only if a specified exception is thrown during the test. Otherwise, the test's outcome should be Failed
AssertOverSyntax
Defines methods used with the Over syntax for mapping assertions over complex data structures.
AuthorAttribute
Associates the author's name and email address with a test fixture, test method, test parameter or other test component.
AutoEmbedRecordingAttribute
Decorates a test method and causes a video of the test run to be automatically embeded when a trigger event occurs.
AutoEmbedScreenshotAttribute
Decorates a test method and causes a screenshot to be automatically embeded when a trigger event occurs.
BinaryDataAttribute
Provides binary data from resource contents.
BindAttribute
The bind attribute overrides the default binding rules for a test parameter by specifying a different data source, a binding path or an index.
CatchExceptionAttribute
Declares that the associated test's TestOutcome should be interpreted as having completed with a specified TestOutcome if a specified exception is thrown during the test.
CategoryAttribute
Associates a category name with a test fixture, test method, test parameter or other test component.
ColumnAttribute
Provides a column of literal values as a data source.
CombinatorialJoinAttribute
Sets the join strategy of a test to be combinatorial.
ComparerAttribute
Declares a custom type comparer.
ContentAttribute
An abstract base class for data source attributes that obtain contents from a local file, manifest resource, or inline data.
ConverterAttribute
Declares a custom type converter.
CsvDataAttribute
Provides data from Comma Separated Values (CSV) contents.
CustomXmlOptions
Customizable optional settings for the XML equality assertions.
DataAttribute
An abstract base class for MbUnit attributes that contribute values to data sources along with metadata such a description or expected exception type.
DataGenerators
Helper methods to quickly combine and generate random or constrained values for data-driven tests.
DataGenerators..::.Random
Generates random values.
DataGenerators..::.Sequential
Generates sequential values.
DefaultTestCaseTimeoutAttribute
Specifies the default test case timeout for all tests in the test assembly.
DegreeOfParallelismAttribute
Specifies the maximum number of concurrent threads to use when tests are run in parallel for all tests in the test assembly.
DependsOnAttribute
Creates a dependency from this test assembly, test fixture or test method on some other test fixture or test method.
DescriptionAttribute
Associates a description with a test fixture, test method, test parameter or other test component.
DisableAttribute
Specifies that a test fixture or a test method is abstract and should not run.
DynamicTestFactoryAttribute
Specifies a method that is used to generate tests dynamically at runtime.
EnumDataAttribute
Provides a column of enumeration values as a data source.
EqualityComparerAttribute
Declares a custom type equality comparer.
ExpectedArgumentExceptionAttribute
Declares that the associated test is expected to throw an ArgumentException.
ExpectedArgumentNullExceptionAttribute
Declares that the associated test is expected to throw an ArgumentNullException.
ExpectedArgumentOutOfRangeExceptionAttribute
Declares that the associated test is expected to throw an ArgumentOutOfRangeException.
ExpectedExceptionAttribute
Declares that the associated test is expected to throw an exception of a particular type.
ExpectedInvalidOperationExceptionAttribute
Declares that the associated test is expected to throw an InvalidOperationException.
ExplicitAttribute
Indicates that a test should only be run explicitly.
ExtensionPointPatternAttribute
Base class for all the patterns defining an extension point of the framework.
FactoryAttribute
Specifies a factory member that will provide values for a data-driven test.
FixtureInitializerAttribute
Specifies a method that is to be invoked after a fixture instance has been created to complete its initialization before test fixture setup runs.
FixtureSetUpAttribute
Specifies a method that is to be invoked to set up the state of a fixture before any of its tests are executed.
FixtureTearDownAttribute
Specifies a method that is to be invoked to tear down the state of a fixture after all of its tests have been executed.
FormatterAttribute
Declares a custom type formatter.
GenerationDataAttribute
Provides a column of sequential values as a data source.
HeaderAttribute
Defines names as aliases for the columns in an indexed data source such as those that have been populated by RowAttribute or ColumnAttribute.
IgnoreAttribute
Indicates that a test is to be ignored by the framework and will not be run.
ImpersonateAttribute
Run a test or a test fixture under another user account.
ImportanceAttribute
Associates a Importance with a test fixture, test method, test parameter or other test component.
JoinAttribute
An abstract class for attributes that specify the join strategy of a test.
MetadataAttribute
Associates custom metadata with a test fixture, test method, test parameter or other test component. The metadata can be used for documentation, classification or dynamic customization of tests.
Mirror
A mirror uses reflection to provide access to non-public members of an object or type for testing purposes.
Mirror..::.MemberSet
A member set provides reflection operations on members of an object or type.
Mirror..::.PropertyIndex
A property index provides a means of getting or setting the value of an indexed property using particular index arguments.
MirrorException
The type of exception thrown when a Mirror is unable to find a member.
MultipleAssertsAttribute
Runs the test as if it were surrounded by Multiple(Action) so that multiple assertion failures within the test are tolerated.
MultipleCultureAttribute
Run a test or a test fixture under different cultures.
NameAttribute
Overrides the name of a test or test parameter.
OldArrayAssert Obsolete.
Array Assertion class
OldAssert Obsolete.
Assertion class
OldCollectionAssert Obsolete.
Assertion helper for the ICollection class.
OldFileAssert
OldGenericAssert Obsolete.
Assertion class
OldReflectionAssert Obsolete.
Reflection Assertion class
OldSecurityAssert Obsolete.
Security Assertion class
OldStringAssert Obsolete.
String Assertion class
OldXmlAssert Obsolete.
Class containing generic assert methods for XML markup
PairwiseJoinAttribute
Sets the join strategy of a test to be pairwise.
ParallelizableAttribute
Specifies that a test can be run in parallel with other parallelizable tests.
ParameterAttribute
Declares that a property, field, method parameter, constructor parameter, generic type parameter or generic method parameter represents a test parameter.
PendingAttribute
Indicates that a test has pending prerequisites so it will not be run.
PrincipalAttribute
Run a test or a test fixture under another user account.
RandomGenerationDataAttribute
Provides a column of random values as a data source.
RandomNumbersAttribute
Provides a column of random Decimal values as a data source.
RandomStringsAttribute
Provides a column of random String values as a data source.
RepeatAttribute
Decorates a test method and causes it to be invoked repeatedly.
Retry
Evaluates repeatedly the specified condition until it becomes fulfilled, or throws a AssertionFailureException if a timeout occured, or if the evaluation was done unsuccessfully too many times.
RollbackAttribute
Decorates a test method whose database operation must be executed within a transaction and rolled back when it has finished executing.
RowAttribute
Provides a row of literal values as a data source.
RowTestAttribute Obsolete.
Provides compatibility with MbUnit v2 row test feature.
SequentialJoinAttribute
Sets the join strategy of a test to be sequential.
SequentialNumbersAttribute
Provides a column of sequential Decimal values as a data source.
SetUpAttribute
Specifies a method that is to be invoked before each test in a fixture executes to set up the state of the test.
StaticTestFactoryAttribute
Specifies a method that is used to generate tests statically at test exploration time.
StructuralEqualityComparer<(Of <(T>)>)
A general-purpose structural equality comparer that defines a fully customizable equality operation without the need to implement IEquatable<(Of <(T>)>).
TearDownAttribute
Specifies a method that is to be invoked after each test in a fixture executes to tear down the state of the test.
Test
Describes a test generated either at test exploration time or at test execution time by a test factory.
TestAttribute
Specifies that a method represents a single test case within a fixture.
TestCase
Describes a test case generated either at test exploration time or at test execution time by a test factory.
TestDecoratorAttribute
An abstract base class for implementing new test decorator behaviors.
TestDefinition
Abstract class for custom test definitions such as generated test cases and test suites.
TestFixtureAttribute
Specifies that a class represents a test fixture. This attribute is optional.
TestFixtureReference
Describes a reference to another test fixture.
TestFixtureSetUpAttribute Obsolete.
Provides compatibility with MbUnit v2 test fixture set up.
TestFixtureTearDownAttribute Obsolete.
Provides compatibility with MbUnit v2 test fixture tear down.
TestsOnAttribute
Associates the name of the type under test with a test fixture, test method, test parameter or other test component.
TestSuite
Describes a test suite generated either at test exploration time or at test execution time by a test factory.
TextDataAttribute
Provides text data from resource contents.
ThreadedRepeatAttribute
Decorates a test method and causes it to be invoked repeatedly on multiple concurrent threads.
TimeoutAttribute
Sets the maximum amount of time in seconds that a test or fixture is permitted to run.
XmlDataAttribute
Provides data from XML contents.
XmlOptions
Optional settings for the XML equality assertions.
XmlPath
Represents the path to an element or an attribute in a XML fragment.

Interfaces

  InterfaceDescription
IRetryOptions
Specifies options for the Retry operation.

Enumerations

  EnumerationDescription
Importance
Specifies the test's relative importance which can be used for classifying tests to be executed.
JoinStrategy
Defines a strategy for joining data.
OutcomeOnFileError
Determines the outcome of data-driven test when an error occured while opening or reading the external data file or resource.
RandomStringStock
Identifies a stock of predefined string values for the random strings generator.
SortOrder
Expected sorting order for the Sorted<(Of <(T>)>)(IEnumerable<(Of <(T>)>), SortOrder) assertion.
StructuralEqualityComparerOptions
Comparison options for the structural equality comparer.
TestScope
Specifies the scope to which certain attributes apply.