Skip to content

TestHarness<TCycle>.AssertFail Method ​

Definition ​

Signals that a test has failed with the provided error message.

c#
public abstract void AssertFail(string message);

Parameters ​

NameTypeDescription
messageStringThe error message indicating why the test failed.