Package · NuGet

bunit

NuGet · v2.12.5 · MIT

bUnit is a testing library for Blazor components. You can easily define components under test in C# or Razor syntax and verify outcome using semantic HTML diffing/comparison logic. You can interact with and inspect the component under test, trigger event handlers, provide cascading values, and inject services. bUnit also includes a complete fake implementation of Blazor's authentication and authorization logic, navigation manager, and JSInterop.

Tentative categories were assigned with moderate confidence (0.5 to 0.75): they are shown, but they do not count toward a category’s momentum. How categories work

Install

dotnet add package bunit

Adoption

All-time downloads
19.9M
Observeddownloads, all time
Popularity
Top 50% on NuGet
Derived61st percentile within NuGet
Dependents
Not published by NuGet
Not published
Maintenance
0.84
DerivedRelease cadence and recency, 0 to 1
Releases per year
10.0
55 versions over its life

Growth by period

Derived by Crest of Tech from two observations of NuGet’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.

7 days
Collectinghistory
Collecting
30 days
Collectinghistory
Collecting
90 days
Collectinghistory
Collecting
1 year
Collectinghistory
Collecting

Adoption history

Adoption historydownloads, all time

Observations in this range began OCT 5, 2026. The chart appears after 7 observations; 2 so far. Collecting history.

Table of observations (2)
Daydownloads, all time
OCT 24, 202619,916,433
OCT 5, 202618,057,362

Facts from the registry

Latest version
v2.12.5
55 versions
First published
APR 11, 2021
Last release
OCT 19, 2026
5d ago
Licence
MIT

Repository

In the Crest catalog

bUnit-dev/bUnit

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.

Stars
1.3K
Forks
122
Language
C#
Last push
36d ago
Last release
41d ago

Linked by the package’s own registry metadata.GitHub (opens in a new tab)

Dependencies latest version · v2.12.5

Runtime 12

  • AngleSharp1.8.5
  • AngleSharp.Css1.1.3
  • AngleSharp.Diffing1.1.1
  • Microsoft.AspNetCore.Components10.0.13
  • Microsoft.AspNetCore.Components.Authorization10.0.13
  • Microsoft.AspNetCore.Components.Web10.0.13
  • Microsoft.AspNetCore.Components.WebAssembly10.0.13
  • Microsoft.AspNetCore.Components.WebAssembly.Authentication10.0.13
  • Microsoft.Extensions.Caching.Memory10.0.13
  • Microsoft.Extensions.Localization.Abstractions10.0.13
  • Microsoft.Extensions.Logging10.0.13
  • Microsoft.Extensions.Logging.Abstractions10.0.13

Related news

No published news event mentions this package or its repository yet.