bUnit
Testing library for Blazor components that renders them inside .NET unit test projects and verifies their markup.
bUnit lets .NET test projects render Blazor components and check their markup. The getting-started guide covers creating a test project, either from the bUnit project template or by adding the package from NuGet to an existing test project.
Worth knowing
bUnit is no test runner. It builds on xUnit, NUnit, MSTest or TUnit, and a test project uses one of them alongside bUnit.
Sources
- 2026-11-04: links, Categories
bunit.dev/ - 2026-11-04: links, Written in, License, GitHub stars
api.github.com/repos/bUnit-dev/bUnit - 2026-11-04: links
bunit.dev/docs/getting-started/ - 2026-11-04: Runtime, Install with
github.com/bUnit-dev/bUnit/blob/stable/docs/site/docs/getting-started/create-test-project.md - 2026-11-04: Minimum runtime
github.com/bUnit-dev/bUnit/blob/v2.13.3/src/bunit/bunit.csproj - 2026-11-04: License model
raw.githubusercontent.com/bUnit-dev/bUnit/main/LICENSE - 2026-11-04: Maintainer
github.com/bUnit-dev/bUnit/blob/v2.13.3/src/Directory.Build.props - 2026-11-04: First release, Current major version, Last release
api.github.com/repos/bUnit-dev/bUnit/releases - 2026-11-04: Contributors
api.github.com/repos/bUnit-dev/bUnit/contributors - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/nuget.org/packages/bunit