bUnit

Component tester

A testing library for Blazor components that simplifies writing unit tests

bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.

GitHub

1k stars
24 watching
109 forks
Language: C#
last commit: almost 2 years ago
Linked from 1 awesome list

blazorblazor-componentsbunitcascading-valuescomponent-testinghacktoberfestmstestnugetnunitrazor-componentssnapshot-testingtrigger-event-handlersunit-testingxunit

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
verifytests/verify.bunitA tool for verifying Blazor components by generating and validating snapshots of their rendered state0
verifytests/verify.blazorA tool for verifying Blazor components by capturing their rendered HTML and model state in a snapshot file.33
havit/havit.blazorA collection of reusable UI components for building Blazor web applications523
rafritts/bunitA lightweight unit testing framework for Bash scripts.197
devexpress/blazorA set of high-performance UI components and demos for building Blazor applications396
chanan/blazorstrapA package of reusable UI components built on top of Bootstrap 4/5 for the Blazor framework922
testing-library/svelte-testing-libraryProvides utilities for testing Svelte components with a focus on realistic testing scenarios and good development practices.623
chanan/blazorprettycodeA Blazor component for displaying formatted code snippets on documentation pages.36
conficient/blazortemplaterA library that generates HTML from Razor Components using a fluent interface150
blazorfluentui/blazorfluentuiA Blazor wrapper around the Fluent UI Web Components library, providing a set of reusable UI components and styles for building web applications.817
christoph-jerolimov/react-native-cosmosA tool to test React Native components with pre-defined props and state values.20
manureini/mcomponentsA Blazor component library providing pre-built UI elements such as grids and wizards.66
b-straub/rxblazorlightReactive wrapper around Blazor components, providing a simple interface to MudBlazor components.5
majorimi/blazor-componentsA collection of reusable UI components and extensions for building Blazor applications328
nunit/nunit-consoleA command-line test runner and engine for unit testing written in C#217