Tasty.

It(string, Func<Task<(bool success, string message)>>) Method

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

Syntax

public static TestCase It(string name, Func<Task<(bool success, string message)>> action)

Parameters

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

Return Value

Type Description
TestCase TestCase.