bUnit bUnit
Search Results for

    Show / Hide Table of Contents

    Namespace Bunit

    Classes

    BunitJSInterop

    Represents an bUnit's implementation of Blazor's JSInterop.

    BunitJSInteropSetupExtensions

    Helper methods for creating invocation handlers and adding the to a BunitJSInterop.

    ClipboardEventDispatchExtensions

    Clipboard event dispatch helper extension methods.

    CompareToExtensions

    Extension methods that allows different rendered fragments to be compared to others or strings.

    ComponentParameterCollection

    A collection for ComponentParameter.

    ComponentParameterCollectionBuilder<TComponent>

    A ComponentParameterCollection builder for a specific TComponent component under test.

    ComponentParameterFactory

    ComponentParameter factory methods.

    DiffAssertExtensions

    A collection of assert extensions and generic assert extensions.

    DiffChangeAssertException

    Represents an diff change assertion that has failed.

    DragEventDispatchExtensions

    Drag event dispatch helper extension methods.

    ElementNotFoundException

    Represents a failure to find an element in the searched target using a CSS selector.

    ElementRemovedFromDomException

    Represents an exception that is thrown when trying to access an element that was previous found in the DOM.

    FocusEventDispatchExtensions

    Focus event dispatch helper extension methods.

    GeneralEventDispatchExtensions

    General event dispatch helper extension methods.

    HtmlEqualException

    Represents an differences between pieces of markup.

    InputEventDispatchExtensions

    Input event dispatch helper extension methods.

    JSInvokeCountExpectedException

    Represents a number of unexpected invocation to a BunitJSInterop.

    JSRuntimeAssertExtensions

    Assert extensions for JSRuntimeMock.

    JSRuntimeInvocationDictionary

    Represents a dictionary of JSRuntimeInvocation, keyed by their identifier.

    JSRuntimeInvocationHandler

    Represents a handler for an invocation of a JavaScript function which returns nothing, with specific arguments.

    JSRuntimeInvocationHandler<TResult>

    Represents a handler for an invocation of a JavaScript function with specific arguments and returns TResult.

    JSRuntimeInvocationHandlerBase<TResult>

    Represents an invocation handler for JSRuntimeInvocation instances.

    JSRuntimeUnhandledInvocationException

    Exception use to indicate that an invocation was received by the BunitJSInterop running in Strict mode, which didn't contain a matching invocation handler.

    Key

    Representation of keyboard key that can be argument of keyboard events.

    KeyboardEventDispatchExtensions

    Keyboard event dispatch helper extension methods.

    MarkupMatchesAssertExtensions

    Assert helpers for comparing markup.

    MediaEventDispatchExtensions

    Media event dispatch helper extension methods.

    MissingEventHandlerException

    Represents an exception that is thrown when triggering an event handler failed because it wasn't available on the targeted .

    MouseEventDispatchExtensions

    Mouse event dispatch helper extension methods.

    NodePrintExtensions

    Helper methods for pretty printing markup from and .

    PointerEventDispatchExtensions

    Pointer event dispatch helper extension methods.

    ProgressEventDispatchExtensions

    Pointer event dispatch helper extension methods.

    RenderedComponentRenderExtensions

    Re-render extension methods, optionally with new parameters, for IRenderedComponentBase<TComponent>.

    RenderedFragmentExtensions

    Helper methods for querying IRenderedFragment.

    RenderedFragmentInvokeAsyncExtensions

    InvokeAsync extensions methods on IRenderedFragmentBase.

    RenderedFragmentWaitForHelperExtensions

    Helper methods dealing with async rendering during testing.

    ShouldBeAdditionAssertExtensions

    A set of addition diff assert extensions.

    ShouldBeRemovalAssertExtensions

    A set of removal diff assert extensions.

    ShouldBeTextChangeAssertExtensions

    Verification helpers for text.

    TestContext

    A test context is a factory that makes it possible to create components under tests.

    TestContextBase

    A test context is a factory that makes it possible to create components under tests.

    TestContextWrapper

    Represents a class that wraps a TestContext. Useful for simplifying writing tests in NUnit and MSTest, which cannot inherit directly from TestContext.

    TestServiceProvider

    Represents a and as a single type used for test purposes.

    TouchEventDispatchExtensions

    Pointer event dispatch helper extension methods.

    TriggerEventDispatchExtensions

    General event dispatch helper extension methods.

    Structs

    ComponentParameter

    Represents a single parameter supplied to an component under test.

    JSRuntimeInvocation

    Represents an invocation of JavaScript via the JSRuntime Mock.

    Interfaces

    IRefreshableElementCollection<T>

    Represents a collection, which queries and finds its elements in an IRenderedFragmentBase, based on a CSS selector. The collection can be refreshed either manually or automatically.

    IRenderedComponent<TComponent>

    IRenderedComponentBase<TComponent>

    Represents a rendered component-under-test.

    IRenderedFragment

    Represents a rendered fragment.

    IRenderedFragmentBase

    Represents a rendered .

    Enums

    JSRuntimeMode

    The execution mode of the BunitJSInterop.

    Delegates

    InvocationMatcher

    Represents a invocation matcher / predicate, that is used to determine if a JSRuntimeInvocationHandler<TResult> matches a specific JSRuntimeInvocation.

    Premium sponsor: Progress Telerik.

    Editorial support provided by Packt.

    Supported by the .NET Foundation.

    Back to top Documentation updated on 05/19/2022 20:20:29 +00:00 in commit 1f807f05b7.