Summary
Adds a
TestCase
to the current scope
Return true if the test is succeeded, otherwise false
Return an additional message that will be reported if the test is failed
Syntax
public static TestCase It(string name, Func<(bool success, string message)> action)
Parameters
Name | Type | Description |
---|---|---|
name | string | The name. |
action | Func |
The action. |
Return Value
Type | Description |
---|---|
TestCase | TestCase. |