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.
- BunitJSModuleInterop
Represents a bUnit JSInterop module.
- ClipboardEventDispatchExtensions
Clipboard event dispatch helper extension methods.
- CompareToExtensions
Extension methods that allows different rendered fragments to be compared to others or strings.
- ComponentFactoryCollection
Represents a collection of IComponentFactory.
- ComponentFactoryCollectionExtensions
Extension methods for using component doubles.
- ComponentParameterCollection
A collection for ComponentParameter.
- ComponentParameterCollectionBuilder<TComponent>
A ComponentParameterCollection builder for a specific
TComponent
component under test.
- ComponentParameterFactory
ComponentParameter factory methods.
- DetailsElementEventDispatchExtensions
General event dispatch helper extension methods.
- DialogEventDispatchExtensions
Dialog helper events.
- DiffAssertExtensions
A collection of AngleSharp.Diffing.Core.IDiff 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.
- FocusAsyncAssertJSInteropExtensions
Extensions methods for verifying FocusAsync(ElementReference) method calls.
- FocusEventDispatchExtensions
Focus event dispatch helper extension methods.
- FocusOnNavigateAssertJSInteropExtensions
Extensions methods for verifying FocusOnNavigate focus calls.
- GeneralEventDispatchExtensions
General event dispatch helper extension methods.
- HtmlEqualException
Represents an differences between pieces of markup.
- InputEventDispatchExtensions
Input event dispatch helper extension methods.
- InputFileContent
Represents a file which can be uploaded.
- InputFileExtensions
Extensions for the InputFile component.
- 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.
- JSRuntimeInvocationHandlerBase<TResult>
Represents an invocation handler for JSRuntimeInvocation instances.
- JSRuntimeInvocationHandler<TResult>
Represents a handler for an invocation of a JavaScript function with specific arguments and returns
TResult
.
- 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 AngleSharp.Dom.IElement.
- MouseEventDispatchExtensions
Mouse event dispatch helper extension methods.
- NodePrintExtensions
Helper methods for pretty printing markup from AngleSharp.Dom.INode and AngleSharp.Dom.INodeList.
- 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.
- StubComponentFactoryCollectionExtensions
Extension methods for using component doubles.
- 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 IServiceProvider and IServiceCollection 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 IComponent component under test.
- JSRuntimeInvocation
Represents an invocation of JavaScript via the JSRuntime Mock.
Interfaces
- IComponentFactory
Represents a component factory.
- IRefreshableElementCollection<T>
Represents a AngleSharp.Dom.IElement collection, which queries and finds its elements in an IRenderedFragmentBase, based on a CSS selector. The collection can be refreshed either manually or automatically.
- IRenderedComponentBase<TComponent>
Represents a rendered component-under-test.
- IRenderedComponent<TComponent>
Represents a rendered component-under-test.
- IRenderedFragment
Represents a rendered fragment.
- IRenderedFragmentBase
Represents a rendered RenderFragment.
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.