https://github.com/bUnit-dev/bUnit
blazor blazor-components bunit cascading-values component-testing hacktoberfest mstest nuget nunit razor-components snapshot-testing trigger-event-handlers unit-testing xunit
Score: 29.120371682040727
Last synced: about 2 hours ago
JSON representation
Repository metadata:
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.
- Host: GitHub
- URL: https://github.com/bUnit-dev/bUnit
- Owner: bUnit-dev
- License: mit
- Created: 2019-07-27T09:03:44.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2026-10-26T15:28:24.000Z (8 days ago)
- Last Synced: 2026-10-31T10:21:27.807Z (3 days ago)
- Topics: blazor, blazor-components, bunit, cascading-values, component-testing, hacktoberfest, mstest, nuget, nunit, razor-components, snapshot-testing, trigger-event-handlers, unit-testing, xunit
- Language: C#
- Homepage: https://bunit.dev
- Size: 7.7 MB
- Stars: 1,309
- Watchers: 21
- Forks: 125
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
- Notice: NOTICE.md
- Copilot: .github/copilot-instructions.md
-
Funding:
- Github: bUnit-dev
Owner metadata:
- Name: bUnit
- Login: bUnit-dev
- Email:
- Kind: organization
- Description: bUnit is a testing library for Blazor components. This organization is responsible for developing and maintaining bUnit and related libraries.
- Website: https://bunit.dev
- Location:
- Twitter: bUnitBot
- Company:
- Icon url: https://avatars.githubusercontent.com/u/82213139?v=4
- Repositories: 4
- Last Synced at: 2026-11-02T00:33:08.464Z
- Profile URL: https://github.com/bUnit-dev
GitHub Events
Total
- Create event: 140
- Delete event: 128
- Discussion event: 1
- Fork event: 16
- Issue comment event: 285
- Issues event: 60
- Pull request event: 239
- Pull request review comment event: 33
- Pull request review event: 74
- Push event: 218
- Release event: 10
- Watch event: 134
- Total: 1338
Last Year
- Create event: 30
- Delete event: 30
- Discussion event: 1
- Fork event: 2
- Issue comment event: 25
- Issues event: 7
- Pull request event: 33
- Pull request review comment event: 10
- Pull request review event: 19
- Push event: 62
- Release event: 4
- Watch event: 14
- Total: 237
Committers metadata
Last synced: 1 day ago
Total Commits: 2,402
Total Committers: 61
Avg Commits per committer: 39.377
Development Distribution Score (DDS): 0.465
Commits in past year: 164
Committers in past year: 12
Avg Commits per committer in past year: 13.667
Development Distribution Score (DDS) in past year: 0.671
| Name | Commits | |
|---|---|---|
| Egil Hansen | e****l@a****k | 1286 |
| Steven Giesel | s****5@g****m | 358 |
| dependabot[bot] | 4****] | 312 |
| ventigrande | a****1@f****m | 185 |
| bUnit bot | b****t@b****v | 172 |
| Rastislav Novotný | r****o@d****t | 13 |
| Simon Cropp | s****p@g****m | 7 |
| pharry22 | P****n@p****u | 5 |
| Denis Ekart | d****t@g****m | 3 |
| Javier Goday | j****y@g****m | 3 |
| Copilot | 1****t | 3 |
| TDroogers | 3****s | 2 |
| Matt Hetherington | m****t@h****v | 2 |
| Martin Costello | m****n@m****m | 2 |
| Kristoffer Strube | k****e@g****m | 2 |
| Ed Charbeneau | e****u@g****m | 2 |
| David Thielen | d****d@t****m | 1 |
| Dustin Irvine | 4****p | 1 |
| DarthPedro | d****o@g****m | 1 |
| Daniel Abbatt | d****t@m****m | 1 |
| Erich Thalacker | e****r@g****m | 1 |
| Evan Li | l****4@g****m | 1 |
| Florian Dohrendorf | L****x | 1 |
| Hamed Moghadasi | h****d@g****m | 1 |
| Colin Bacon | i****n | 1 |
| Christian Oleson - Edge | c****n@e****m | 1 |
| Andrzej Bakun | a****j@n****y | 1 |
| Alexander Gusev | 9****s | 1 |
| Alexander Bülow | a****w@g****m | 1 |
| grishat | g****t@g****m | 1 |
| and 31 more... | ||
Issue and Pull Request metadata
Last synced: about 15 hours ago
Total issues: 171
Total pull requests: 543
Average time to close issues: 6 months
Average time to close pull requests: 9 days
Total issue authors: 65
Total pull request authors: 30
Average comments per issue: 3.84
Average comments per pull request: 1.0
Merged pull request: 201
Bot issues: 1
Bot pull requests: 341
Past year issues: 16
Past year pull requests: 91
Past year average time to close issues: 5 days
Past year average time to close pull requests: 7 days
Past year issue authors: 14
Past year pull request authors: 11
Past year average comments per issue: 1.63
Past year average comments per pull request: 0.65
Past year merged pull request: 43
Past year bot issues: 0
Past year bot pull requests: 65
Top Issue Authors
- egil (69)
- linkdotnet (20)
- jpiell (7)
- chanan (3)
- bfmbrett (3)
- RiRiSharp (3)
- japhelps (2)
- aayjaychan (2)
- StefH (2)
- jtleaming (2)
- Pjotrtje (2)
- JamesNK (2)
- robalexclark (2)
- springy76 (1)
- NTC-THSTO (1)
Top Pull Request Authors
- dependabot[bot] (341)
- linkdotnet (91)
- bUnitBot (44)
- egil (26)
- SimonCropp (5)
- WeihanLi (2)
- RichardPoes (2)
- ayyron-dev (2)
- johanbenschop (2)
- Qwertyluk (2)
- MarlonRobertoGomez (2)
- MarkCiliaVincenti (2)
- StefH (2)
- SammyBits (2)
- Copilot (2)
Top Issue Labels
- enhancement (55)
- documentation (20)
- input needed (16)
- question (16)
- help wanted (14)
- bug (10)
- good first issue (9)
- investigate (7)
- needs design (7)
- backlog (4)
- performance (1)
- dependencies (1)
- .NET (1)
Top Pull Request Labels
- dependencies (339)
- .NET (324)
- github_actions (15)
- enhancement (2)
- question (1)
- bug (1)
Package metadata
- Total packages: 10
-
Total downloads:
- nuget: 54,328,229 total
- Total docker downloads: 43
- Total dependent packages: 41 (may contain duplicates)
- Total dependent repositories: 567 (may contain duplicates)
- Total versions: 818
- Total maintainers: 2
nuget.org: bunit
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.
- Homepage: https://bunit.egilhansen.com/
- Licenses: MIT
- Latest release: 2.13.3 (published 9 days ago)
- Last Synced: 2026-11-02T00:31:49.312Z (1 day ago)
- Versions: 149
- Dependent Packages: 17
- Dependent Repositories: 369
- Downloads: 20,637,998 Total
-
Rankings:
- Dependent repos count: 0.31%
- Downloads: 0.59%
- Average: 0.638%
- Dependent packages count: 1.015%
- Maintainers (2)
nuget.org: bunit.core
bUnit.core is the base library that provides support for testing Blazor components. You need to install bUnit.web as well to test web-based Blazor components.
- Homepage: https://bunit.egilhansen.com/
- Licenses: MIT
- Latest release: 1.40.0 (published over 1 year ago)
- Last Synced: 2026-11-02T13:41:22.778Z (about 19 hours ago)
- Versions: 118
- Dependent Packages: 13
- Dependent Repositories: 49
- Downloads: 17,193,822 Total
- Docker Downloads: 43
-
Rankings:
- Downloads: 0.486%
- Average: 0.817%
- Docker downloads count: 0.821%
- Dependent repos count: 0.948%
- Dependent packages count: 1.015%
- Maintainers (2)
nuget.org: bunit.web
bUnit.web is the web specific parts of bUnit, that enables you to easily test and verify the output of Blazor (web) component.
- Homepage: https://bunit.egilhansen.com/
- Licenses: MIT
- Latest release: 1.40.0 (published over 1 year ago)
- Last Synced: 2026-11-02T00:31:48.845Z (1 day ago)
- Versions: 119
- Dependent Packages: 11
- Dependent Repositories: 133
- Downloads: 15,850,903 Total
-
Rankings:
- Downloads: 0.53%
- Dependent repos count: 0.543%
- Average: 0.991%
- Dependent packages count: 1.9%
- Maintainers (2)
proxy.golang.org: github.com/bUnit-dev/bUnit
- Homepage:
- Documentation: https://pkg.go.dev/github.com/bUnit-dev/bUnit#section-documentation
- Licenses: mit
- Latest release: v2.11.3+incompatible (published about 2 months ago)
- Last Synced: 2026-11-02T00:31:47.893Z (1 day ago)
- Versions: 64
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 2.491%
- Forks count: 3.141%
- Average: 3.668%
- Dependent packages count: 4.373%
- Dependent repos count: 4.668%
proxy.golang.org: github.com/bunit-dev/bunit
- Homepage:
- Documentation: https://pkg.go.dev/github.com/bunit-dev/bunit#section-documentation
- Licenses: mit
- Latest release: v2.12.5+incompatible (published 11 days ago)
- Last Synced: 2026-11-02T00:31:49.334Z (1 day ago)
- Versions: 66
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.35%
- Average: 4.496%
- Dependent repos count: 4.643%
nuget.org: bunit.web.testcomponents
bUnit.web.testcomponents enables writing tests using the <Fixture> and <SnapshotTest> components in .razor files. This package only works with xUnit. NOTE: This package represents experimental features of bUnit that has been superseded by better ones. It is provided to avoid breaking existing test suites but is unlikely to see improvements or updates in the future.
- Homepage: https://bunit.egilhansen.com/
- Licenses: MIT
- Latest release: 1.23.9 (published about 3 years ago)
- Last Synced: 2026-11-02T00:31:47.040Z (1 day ago)
- Versions: 54
- Dependent Packages: 0
- Dependent Repositories: 15
- Downloads: 215,267 Total
-
Rankings:
- Dependent repos count: 1.807%
- Downloads: 4.667%
- Average: 9.067%
- Dependent packages count: 20.728%
- Maintainers (2)
nuget.org: bunit.web.mock
bUnit.web.mock contains an experimental component stubbing mocking library. This library is in preview, and the logic will likely be added back into bUnit when out of preview.
- Homepage: https://bunit.egilhansen.com/
- Status: deprecated
- Licenses: MIT
- Latest release: (published 1 day ago)
- Last Synced: 2026-11-02T00:31:47.414Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Dependent repos count: 7.006%
- Average: 13.861%
- Dependent packages count: 20.716%
nuget.org: bunit.template
A project template for a testing Blazor/Razor components using the bUnit library.
- Homepage: https://bunit.egilhansen.com/
- Licenses: MIT
- Latest release: 2.13.3 (published 9 days ago)
- Last Synced: 2026-11-02T00:31:48.349Z (1 day ago)
- Versions: 143
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 270,954 Total
-
Rankings:
- Downloads: 11.012%
- Dependent repos count: 12.697%
- Average: 14.419%
- Dependent packages count: 19.548%
- Maintainers (2)
nuget.org: bunit.generators
bUnit.generators is an extension to bUnit that provides code generators for stubbing components.
- Homepage: https://bunit.egilhansen.com/
- Licenses: MIT
- Latest release: 2.13.3 (published 9 days ago)
- Last Synced: 2026-11-02T00:31:47.231Z (1 day ago)
- Versions: 46
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 74,920 Total
-
Rankings:
- Dependent repos count: 15.253%
- Average: 17.981%
- Dependent packages count: 20.71%
- Maintainers (1)
nuget.org: bunit.web.query
bunit.web.query is an experimental package that provides an bUnit version of the https://testing-library.com/ APIs.
- Homepage: https://bunit.egilhansen.com/
- Licenses: MIT
- Latest release: 2.13.3 (published 9 days ago)
- Last Synced: 2026-11-02T00:31:47.328Z (1 day ago)
- Versions: 58
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 84,365 Total
-
Rankings:
- Dependent repos count: 15.14%
- Dependent packages count: 20.663%
- Average: 30.474%
- Downloads: 55.618%
- Maintainers (1)
Dependencies
- Microsoft.AspNetCore.Components 3.1
- Microsoft.AspNetCore.Components.Authorization 3.1
- Microsoft.AspNetCore.Components.Web 3.1
- Microsoft.Extensions.Logging 3.1
- Microsoft.Extensions.Logging.Abstractions 3.1
- MSTest.TestAdapter 2.1.0
- MSTest.TestFramework 2.1.0
- Microsoft.NET.Test.Sdk 17.0.0
- Moq 4.16.1
- NSubstitute 4.2.2
- coverlet.collector 1.2.0
- Microsoft.NET.Test.Sdk 17.0.0
- Moq 4.16.1
- NSubstitute 4.2.2
- NUnit3TestAdapter 3.15.1
- nunit 3.12.0
- Microsoft.NET.Test.Sdk 17.0.0
- Moq 4.16.1
- NSubstitute 4.2.2
- RichardSzalay.MockHttp 6.0.0
- xunit 2.4.1
- xunit.runner.visualstudio 2.4.1
- Microsoft.NET.Test.Sdk 17.0.0
- Moq 4.16.1
- NSubstitute 4.2.2
- RichardSzalay.MockHttp 6.0.0
- xunit 2.4.1
- xunit.runner.visualstudio 2.4.1
- MSTest.TestAdapter 2.2.7
- MSTest.TestFramework 2.2.7
- Microsoft.NET.Test.Sdk 16.11.0
- NUnit 3.13.2
- NUnit3TestAdapter 4.0.0
- bunit #{NBGV_NuGetPackageVersion}#
- coverlet.collector 3.1.0
- xunit 2.4.1
- xunit.runner.visualstudio 2.4.3
- Microsoft.AspNetCore.Components.WebAssembly.Authentication 3.2.1
- Microsoft.Extensions.Localization.Abstractions $(DotNet3Version)
- Serilog 2.11.0
- Serilog.Extensions.Logging 3.1.0
- System.Text.Json 6.0.5
- xunit.abstractions 2.0.3
- xunit.assert 2.4.1
- xunit.core 2.4.1
- actions/checkout v3 composite
- actions/setup-dotnet v3 composite
- crazy-max/ghaction-github-pages v3 composite
- crazy-max/ghaction-import-gpg v5 composite
- cschleiden/replace-tokens v1 composite
- dotnet/nbgv v0.4.0 composite
- mindsers/changelog-reader-action v2 composite
- nikeee/docfx-action v1.0.0 composite
- thomaseizinger/create-pull-request 1.3.0 composite
- actions/checkout v3 composite
- crazy-max/ghaction-import-gpg v5 composite
- dotnet/nbgv v0.4.0 composite
- mindsers/changelog-reader-action v2 composite
- thomaseizinger/create-pull-request 1.3.0 composite
- actions/checkout v3 composite
- actions/setup-dotnet v3 composite
- crazy-max/ghaction-import-gpg v5 composite
- cschleiden/replace-tokens v1 composite
- dotnet/nbgv v0.4.0 composite
- mindsers/changelog-reader-action v2 composite
- thomaseizinger/create-pull-request 1.3.0 composite
- thomaseizinger/create-release 1.0.0 composite
- thomaseizinger/keep-a-changelog-new-release 1.3.0 composite
- NuGet/login v1 composite
- actions/checkout v7 composite
- actions/dependency-review-action v5 composite
- actions/download-artifact v8 composite
- actions/setup-dotnet v6 composite
- actions/upload-artifact v7 composite
- cschleiden/replace-tokens v1 composite
- dotnet/nbgv v0.5.2 composite
- mindsers/changelog-reader-action v2 composite
- Meziantou.Polyfill * development
- Microsoft.CodeAnalysis.Analyzers * development
- Microsoft.CodeAnalysis.CSharp *
- AngleSharp *
- Meziantou.Polyfill *
- Microsoft.CodeAnalysis.Analyzers *
- Microsoft.CodeAnalysis.CSharp *
- Microsoft.AspNetCore.Components *
- Microsoft.Extensions.Logging *
- Microsoft.Extensions.Logging.Abstractions *
- Microsoft.CodeAnalysis.CSharp *
- Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing *
- Microsoft.CodeAnalysis.CSharp.Workspaces *
- Microsoft.CodeAnalysis.Common *
- Microsoft.CodeAnalysis.Workspaces.Common *
- Verify.SourceGenerators *
- Verify.XunitV3 *