Table of Contents

Namespace Bunit.Rendering

Classes

BunitRenderer

Represents a bUnit BunitRenderer used to render Blazor components and fragments during bUnit tests.

ComponentDisposedException

Represents an exception that is thrown when a IRenderedComponent<TComponent>'s properties is accessed after the underlying component has been disposed by the renderer.

ComponentNotFoundException

Represents an exception that is thrown when a search for a component did not succeed.

ContainerFragment

Creates an instance of the ContainerFragment, which is used when a fragment is rendered inside a test contexts render tree. It is primarily used to be able to find the starting point to return.

MissingRendererInfoException

Represents an exception that is thrown when a component under test is trying to access the 'RendererInfo' property, which has not been specified.

RenderModeMisMatchException

Represents an exception that is thrown when a component under test has mismatching render modes assigned between parent and child components.

RootRenderTree

Represents a root render tree, wherein components under tests will be rendered. Components added to the render tree must have either a ChildContent or Body parameter.

RootRenderTreeRegistration

Represents an added component with parameters in an RootRenderTree.

UnknownEventHandlerIdException

Represents an exception that is thrown when the Blazor Renderer does not have any event handler with the specified a given ID.

.NET Foundation

Supported by the .NET Foundation.