Table of Contents

Enum AssertionStatus

Namespace
NUnit.Framework.Interfaces
Assembly
nunit.framework.dll

AssertionStatus enumeration represents the possible outcomes of an assertion. The order of definition is significant, higher level values override lower ones in determining the overall result of a test.

public enum AssertionStatus

Fields

Error = 4

An unexpected exception was thrown

Failed = 3

The assertion failed

Inconclusive = 0

An assumption failed

Passed = 1

The assertion succeeded

Warning = 2

A warning message was issued