bUnit

Component tester

A testing library for Blazor components

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
108 forks
Language: C#
last commit: 7 days ago
Linked from 1 awesome list

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

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
verifytests/verify.bunit A tool for verifying Blazor components by generating and validating snapshots of their rendered state 0
verifytests/verify.blazor A tool for verifying Blazor components by capturing their rendered HTML and model state in a snapshot file. 33
havit/havit.blazor A collection of reusable UI components for building Blazor web applications 509
rafritts/bunit A lightweight unit testing framework for Bash scripts. 197
devexpress/blazor A set of high-performance UI components and demos for building Blazor applications 392
chanan/blazorstrap A package of reusable UI components built on top of Bootstrap 4/5 for the Blazor framework 919
testing-library/svelte-testing-library Provides utilities for testing Svelte components with a focus on realistic testing scenarios and good development practices. 620
chanan/blazorprettycode A Blazor component for displaying formatted code snippets on documentation pages. 36
conficient/blazortemplater A library that generates HTML from Razor Components using a fluent interface 150
blazorfluentui/blazorfluentui A Blazor wrapper around the Fluent UI Web Components library, providing a set of reusable UI components and styles for building web applications. 816
christoph-jerolimov/react-native-cosmos A tool to test React Native components with pre-defined props and state values. 20
manureini/mcomponents A Blazor component library providing pre-built UI elements such as grids and wizards. 66
b-straub/rxblazorlight Reactive wrapper around Blazor components, providing a simple interface to MudBlazor components. 5
majorimi/blazor-components A collection of reusable UI components and extensions for building Blazor applications 327
nunit/nunit-console A command-line test runner and engine for unit testing written in C# 216