TastyScope Class

Namespace
Xenial.Delicious.Scopes
Interfaces
  • IExecutable
  • IForceable
Base Types
graph BT Type-->Base0["TestGroup"] click Base0 "/api/Xenial.Delicious.Metadata/TestGroup" Base0-->Base1["object"] Type-.->Interface0["IExecutable"] Type-.->Interface1["IForceable"] Type["TastyScope"] class Type type-node

Syntax

public class TastyScope : TestGroup, IExecutable, IForceable

Constructors

Name Summary
TastyScope()

Properties

Name Value Summary
ClearBeforeRun bool
ConnectToRemoteRunHook ConnectToRemote
Duration TimeSpan
Inherited from TestGroup
Exception Exception?
Inherited from TestGroup
Executor Executable
Inherited from TestGroup
FullName string
Inherited from TestGroup
IsForced Func<bool>?
Inherited from TestGroup
LoadPlugins bool
Name string
Inherited from TestGroup
ParentGroup TestGroup?
Inherited from TestGroup
TestOutcome TestOutcome
Inherited from TestGroup

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