Specifies the test's relative importance which can be used for classifying tests to be executed.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.459.0)

Syntax

C#
public enum Importance
Visual Basic (Declaration)
Public Enumeration Importance

Members

Member nameDescription
Critical
Critical importance.
Severe
Severe importance. Less important than Critical.
Serious
Serious importance. Less important than Severe.
Default
Default importance.
NoOneReallyCaresAbout
Not important.
Format
Formats an object using the default IFormatter.
Format
Formats an object using the specified IFormatter.

Remarks

In MbUnit v2 this enum had the FlagsAttribute attribute which was pointless because the values were not binary so they could not actually be OR'ed together without loss of information.

In MbUnit v3, to indicate that a test belongs to multiple importance classes, decorate it with multiple occurrences of the ImportanceAttribute.

See Also