egil
NuGet publisher profile
Packages (20)
AngleSharp.Diffing
Provides a complete diffing model of HTML.
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.
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.
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.
AngleSharp.Wrappers
A library of wrappers for AngleSharp. Allows you to replace a real AngleSharp DOM tree but still keep the queried/returned node references. Built for and used by https://github.com/bUnit-dev/bUnit.
SourceFileFinder
A small helper library, that allows you to find the source file of a type at runtime, based on the debug information included in the types assembly through the related portable PDB.
bunit.xunit
bUnit.xunit is an xUnit extension for bUnit, that provides a way for xUnit to run bUnit's razor-based tests, as well as other helpful extensions to make the testing experience better if you use xUnit for writing your tests.
bunit.template
A project template for a testing Blazor/Razor components using the bUnit library.
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.
TimeProviderExtensions
Testing extensions for the System.TimeProvider API. It includes an advanced test/fake version of the TimeProvider type that allows you to control the progress of time during testing deterministically and a backported version of PeriodicTimer that supports TimeProvider in .NET 6.
Htmxor
This packages enables Blazor static SSR to be used seamlessly with Htmx. Blazor static SSR comes with basic interactivity via enhanced navigation and enhanced form handling. Adding Htmx (htmx.org) to the mix gives you access to another level of interactivity while still retaining all the advantages of Blazor SSR stateless nature.
Egil.StronglyTypedPrimitives
A source generator for creating strongly-typed primitive types that makes it easy to avoid the primitive obsession anti pattern. Add a [StronglyTyped] attribute to a partial record struct to get started.
TimeScheduler
This is a shim for the upcoming `System.TimeProvider` API coming in .NET 8. It includes a test version of the `TimeProvider`, named `ManualTimeProvider`, that allows you to control the progress of time during testing deterministically. **NOTE:** Originally, this library provided its own abstraction, `ITimeScheduler` and related types, `DefaultScheduler` and `TestScheduler`. These are now considered obsolete.
Egil.Orleans.Storage
This library provides OpenTelemetry integration for Microsoft Orleans grain storage providers. It enables detailed telemetry collection for grain storage operations with minimal configuration, helping you monitor and analyze storage performance, errors, and usage patterns in your Orleans applications.
StronglyTypedPrimitives
A source generator for creating strongly-typed primitive types that makes it easy to avoid the primitive obsession anti pattern. Add a [StronglyTyped] attribute to a partial record struct to get started.
Egil.SystemTextJson.Migration
Version-aware JSON migration helpers for System.Text.Json with explicit migrator registration and AOT-friendly defaults.
Egil.Orleans.EventSourcing
An event sourcing library for Orleans that uses Azure Blob Storage for persistence.
Egil.Orleans.Testing
Deterministic async assertion helpers for Microsoft Orleans test suites. Monitors grain calls and storage operations, then retries assertions until they pass or a configurable timeout is reached.
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.
BlazeWright
Enable testing Blazor web apps using Playwright.