Excalibur.Testing.Containers 10.0.0-alpha.8

This is a prerelease version of Excalibur.Testing.Containers.
dotnet add package Excalibur.Testing.Containers --version 10.0.0-alpha.8
                    
NuGet\Install-Package Excalibur.Testing.Containers -Version 10.0.0-alpha.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Excalibur.Testing.Containers" Version="10.0.0-alpha.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Excalibur.Testing.Containers" Version="10.0.0-alpha.8" />
                    
Directory.Packages.props
<PackageReference Include="Excalibur.Testing.Containers" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Excalibur.Testing.Containers --version 10.0.0-alpha.8
                    
#r "nuget: Excalibur.Testing.Containers, 10.0.0-alpha.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Excalibur.Testing.Containers@10.0.0-alpha.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Excalibur.Testing.Containers&version=10.0.0-alpha.8&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Excalibur.Testing.Containers&version=10.0.0-alpha.8&prerelease
                    
Install as a Cake Tool

Excalibur.Testing.Containers

Opt-in TestContainers fixtures for testing Excalibur infrastructure implementations against real backends via Docker.

This package is deliberately separate from Excalibur.Testing.Conformance so that the core conformance toolkit never forces a Docker/TestContainers dependency. Reference this package only when you want to run conformance kits (or your own integration tests) against a real database.

Installation

dotnet add package Excalibur.Testing.Containers

What's included

Type Purpose
ContainerFixtureBase Base class with Docker lifecycle, timeout handling, transient-failure retry, and optional graceful degradation.
IDatabaseContainerFixture Contract for database container fixtures (connection string, engine, CreateDbConnection).
SqlServerContainerFixture Ready SQL Server fixture (Testcontainers.MsSql).
PostgresContainerFixture Ready PostgreSQL fixture (Testcontainers.PostgreSql).

Container timeouts scale with the TEST_TIMEOUT_MULTIPLIER environment variable via ContainerTimeouts.

Quick start — run a conformance kit against a real database

public sealed class MySqlServerOutboxConformanceTests
    : OutboxStoreConformanceTestKit, IClassFixture<SqlServerContainerFixture>
{
    private readonly SqlServerContainerFixture _fixture;

    public MySqlServerOutboxConformanceTests(SqlServerContainerFixture fixture) => _fixture = fixture;

    protected override IOutboxStore CreateStore() =>
        new MySqlServerOutboxStore(_fixture.ConnectionString);

    [Fact] public Task Append() => AppendAsync_Persists();
}

License

This package is part of the Excalibur framework. See LICENSE for license details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0-alpha.8 48 8/14/2026
10.0.0-alpha.7 49 8/13/2026
10.0.0-alpha.6 66 8/11/2026
10.0.0-alpha.5 42 8/10/2026

See CHANGELOG.md for release notes