Méthode | Description | |
---|---|---|
If ( bool condition, string reason = null ) : void |
Throws an exception that results in a "Skipped" result for the test.
|
|
IfNot ( bool condition, string reason = null ) : void |
Throws an exception that results in a "Skipped" result for the test.
|
public static If ( bool condition, string reason = null ) : void | ||
condition | bool | The condition that must evaluate to |
reason | string | The explanation for why the test is skipped. |
Résultat | void |
public static IfNot ( bool condition, string reason = null ) : void | ||
condition | bool | The condition that must evaluate to |
reason | string | The explanation for why the test is skipped. |
Résultat | void |