Skip to main content
egil avatar

egil

24 packages

Author Trust

Established95/100Verified Publisher by NuGet
24
Packages
82.5M
Total DLs
Sort:

24 packages

AngleSharp.Diffing package icon

AngleSharp.Diffing

AngleSharp

Provides a complete diffing model of HTML.

23.6M51 versionshtml, html5, css +10
bunit package icon

bunit

Egil Hansen

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.

21.5M145 versionsbUnit, razor, components +5
bunit.core package icon

bunit.core

Egil Hansen

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.

17.4M113 versionsbUnit, razor, components +5
bunit.web package icon

bunit.web

Egil Hansen

bUnit.web is the web specific parts of bUnit, that enables you to easily test and verify the output of Blazor (web) component.

16.0M114 versionsbUnit, razor, components +5
AngleSharp.Wrappers package icon

AngleSharp.Wrappers

Egil Hansen

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.

2.2M7 versions
SourceFileFinder package icon

SourceFileFinder

Egil Hansen

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.

629.5K9 versionsc#, reflection
bunit.xunit package icon

bunit.xunit

Egil Hansen

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.

447.0K4 versionsbUnit, razor, components +11
bunit.template package icon

bunit.template

Egil Hansen

A project template for a testing Blazor/Razor components using the bUnit library.

273.5K139 versionsbUnit, razor, components +5
bunit.web.testcomponents package icon

bunit.web.testcomponents

Egil Hansen

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.

217.0K54 versionsbUnit, razor, components +11
TimeProviderExtensions package icon

TimeProviderExtensions

Egil Hansen

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.

111.8K11 versionsTimeProvider, testing
Htmxor package icon

Htmxor

Egil Hansen

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.

13.9K50 versionsblazor, htmx, blazor-ssr +1
Egil.StronglyTypedPrimitives package icon

Egil.StronglyTypedPrimitives

Egil Hansen

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.

13.4K20 versionsstronglytyped, primitive-obsession, generator +1
TimeScheduler package icon

TimeScheduler

Egil Hansen

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.

7.6K12 versions
Egil.Orleans.Storage package icon

Egil.Orleans.Storage

Egil Hansen

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.

6.1K14 versionsorleans, storage, egil
Egil.SystemTextJson.Migration package icon

Egil.SystemTextJson.Migration

Egil Hansen

Version-aware JSON migration helpers for System.Text.Json with explicit migrator registration and source-generation support.

5.3K15 versionssystem-text-json, json, migration +1
Egil.Orleans.Messaging package icon

Egil.Orleans.Messaging

Egil Hansen

A toolbox of composable building blocks for Orleans grains that need atomic state writes, transactional outbox, receiver-side dedup, and stream subscription management. Pick what you need, leave the rest.

4.1K21 versionsorleans, messaging, outbox +4
StronglyTypedPrimitives package icon

StronglyTypedPrimitives

Egil Hansen

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.

3.3K13 versionsstronglytyped, primitive-obsession, generator +1
Egil.Orleans.Messaging.Streams.EventHubs package icon

Egil.Orleans.Messaging.Streams.EventHubs

Egil Hansen

Event Hubs-specific stream token enrichment for Egil.Orleans.Messaging.

3.0K21 versionsorleans, messaging, streams +3
Egil.Orleans.Messaging.State.AzureStorage package icon

Egil.Orleans.Messaging.State.AzureStorage

Egil Hansen

Azure Table and Blob storage-aware state manager support for Egil.Orleans.Messaging.

2.9K21 versionsorleans, messaging, state +4
Egil.Orleans.Testing package icon

Egil.Orleans.Testing

Egil Hansen

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.

2.9K4 versionsorleans, testing, async-assertion +2
Egil.Orleans.EventSourcing package icon

Egil.Orleans.EventSourcing

Egil Hansen

An event sourcing library for Orleans that uses Azure Blob Storage for persistence.

2.6K6 versionsorleans, storage, egil
Egil.Orleans.Messaging.Journaling package icon

Egil.Orleans.Messaging.Journaling

Egil Hansen

Preview journaled outbox and message tracking components for Egil.Orleans.Messaging.

1.2K12 versionsorleans, messaging, journaling +4
bunit.web.mock package icon

bunit.web.mock

Egil Hansen

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.

7031 versionbUnit, razor, components +11
BlazeWright package icon

BlazeWright

Egil Hansen

Enable testing Blazor web apps using Playwright.

5232 versionsBlazor, Playwright, testing