Syntax
public class TastyScope : TestGroup, IExecutable, IForceable
Constructors
Properties
Methods
Name |
Value |
Summary |
AfterEach(Action) |
void |
|
AfterEach(Func<Task>) |
void |
|
BeforeEach(Action) |
void |
|
BeforeEach(Func<Task>) |
void |
|
Describe(string, Action) |
TestGroup |
|
Describe(string, Func<Task>) |
TestGroup |
|
FDescribe(string, Action) |
TestGroup |
|
FDescribe(string, Func<Task>) |
TestGroup |
|
FIt(string, Action) |
TestCase |
|
FIt(string, Func<(bool result, string message)>) |
TestCase |
|
FIt(string, Func<bool>) |
TestCase |
|
FIt(string, Func<Task<(bool result, string message)>>) |
TestCase |
|
FIt(string, Func<Task<bool>>) |
TestCase |
|
FIt(string, Func<Task>) |
TestCase |
|
It(string, Action) |
TestCase |
|
It(string, Executable) |
TestCase |
|
It(string, Func<(bool success, string message)>) |
TestCase |
|
It(string, Func<bool>) |
TestCase |
|
It(string, Func<IAsyncEnumerable<TestCaseResult>>) |
TestCase |
|
It(string, Func<Task<(bool success, string message)>>) |
TestCase |
|
It(string, Func<Task>) |
TestCase |
|
RegisterCommand(Func<(string name, Func<RuntimeContext, Task> command)>) |
TastyScope |
|
RegisterCommand(Func<(string name, Func<RuntimeContext, Task> command, string? description)>) |
TastyScope |
|
RegisterCommand(Func<(string name, Func<RuntimeContext, Task> command, string? description, bool? isDefault)>) |
TastyScope |
|
RegisterCommand(string, Func<RuntimeContext, Task>, string?, bool) |
TastyScope |
|
RegisterReporter(AsyncTestReporter) |
TastyScope |
|
RegisterReporter(AsyncTestSummaryReporter) |
TastyScope |
|
RegisterTransport(string, TransportStreamFactoryFunctor) |
TastyScope |
|
Report(TestCaseResult) |
Task |
|
Run() |
Task<int> |
|
Run(Assembly) |
Task<int> |
|
Run(Assembly?, string[]) |
Task<int> |
|
Run(string[]) |
Task<int> |
|
Use(Action<TestExecutor>) |
TastyScope |
|
Extension Methods
Name |
Value |
Summary |
Describe(string, Action) |
TestGroup |
|
Describe(string, Func<Task>) |
TestGroup |
|
FIt(string, Action) |
TestCase |
|
FIt(string, Func<(bool result, string message)>) |
TestCase |
|
FIt(string, Func<bool>) |
TestCase |
|
FIt(string, Func<Task<(bool result, string message)>>) |
TestCase |
|
FIt(string, Func<Task<bool>>) |
TestCase |
|
FIt(string, Func<Task>) |
TestCase |
|
Forced(Func<bool>) |
TestGroup |
|
It(string, Action) |
TestCase |
|
It(string, Executable) |
TestCase |
|
It(string, Func<(bool success, string message)>) |
TestCase |
|
It(string, Func<bool>) |
TestCase |
|
It(string, Func<Task<(bool success, string message)>>) |
TestCase |
|
It(string, Func<Task>) |
TestCase |
|
RegisterConsoleReporter() |
TastyScope |
|
RegisterNyanReporter() |
TastyScope |
|
RegisterRemoteReporter() |
TastyScope |
|
UseConsoleReporter() |
TastyScope |
|
UseInMemoryTransport() |
TastyScope |
|
UseNamedPipesTransport() |
TastyScope |
|
UseNyanReporter() |
TastyScope |
|
UseRemoteReporter() |
TastyScope |
|