csUnit Class Library

Assert.Fail Method (String)

Fail with custom message. Use with checked exceptions.

public static void Fail(
   string message
);

Parameters

message
Customer string message.

See Also

Assert Class | csUnit Namespace | Assert.Fail Overload List