Tasty.

FIt(string, Func<Task<(bool result, string message)>>) Method

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
Namespace
Xenial
Containing Type
Tasty

Syntax

public static TestCase FIt(string name, Func<Task<(bool result, string message)>> action)

Parameters

Name Type Description
name string The name.
action Func<Task<(bool result, string message)>> The action.

Return Value

Type Description
TestCase TestCase.