Definition
Assembly: CloudNimble.BlazorEssentials.Breakdance.dll Namespace: CloudNimble.BlazorEssentials.Breakdance Inheritance: CloudNimble.Breakdance.Blazor.BlazorBreakdanceTestBaseSyntax
Type Parameters
TConfiguration-TAppState-
Constructors
.ctor
Syntax
Methods
AssemblySetup Override
DO NOT USE THIS METHOD. Throws a NotSupportedException when called. You must callString)
or TestSetup instead.
Syntax
Exceptions
ClassSetup
Syntax
Parameters
ClassSetup
Syntax
Parameters
Type Parameters
TMessageHandler-
ClassSetup
Syntax
Parameters
Type Parameters
TMessageHandler-
TestSetup
Configures the BlazorEssentials services into the BUnitTestContext IServiceProvider for the currently-executing test only.Syntax
Parameters
Remarks
RWM: These methods exist because bUnit is configured per-test, and the BlazorEssentials configuration can change on a per-test basis. bUnit will resolve from its own container first, then fall back to the TestHost’s ServiceProvider if not found. This methods puts a new configuration in place instead, to be used only for the currently-executing test.TestSetup
Configures the BlazorEssentials services into the BUnitTestContext IServiceProvider for the currently-executing test only.Syntax
Parameters
Type Parameters
TMessageHandler-
Remarks
RWM: These methods exist because bUnit is configured per-test, and the BlazorEssentials configuration can change on a per-test basis. bUnit will resolve from its own container first, then fall back to the TestHost’s ServiceProvider if not found. This methods puts a new configuration in place instead, to be used only for the currently-executing test.TestSetup Override
DO NOT USE THIS METHOD. Throws a NotSupportedException when called. You must callString)
or TestSetup instead.