Summary
Adds a
TestCase
to the current scope
and mark it as forced/focused
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 FIt(string name, Func<(bool result, string message)> action)
Parameters
Name | Type | Description |
---|---|---|
name | string | The name. |
action | Func |
The action. |
Return Value
Type | Description |
---|---|
TestCase | TestCase. |