Rig.TUnit.Databases.Sql.SqlServer 0.0.0-alpha.0.14

This is a prerelease version of Rig.TUnit.Databases.Sql.SqlServer.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Rig.TUnit.Databases.Sql.SqlServer --version 0.0.0-alpha.0.14
                    
NuGet\Install-Package Rig.TUnit.Databases.Sql.SqlServer -Version 0.0.0-alpha.0.14
                    
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="Rig.TUnit.Databases.Sql.SqlServer" Version="0.0.0-alpha.0.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rig.TUnit.Databases.Sql.SqlServer" Version="0.0.0-alpha.0.14" />
                    
Directory.Packages.props
<PackageReference Include="Rig.TUnit.Databases.Sql.SqlServer" />
                    
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 Rig.TUnit.Databases.Sql.SqlServer --version 0.0.0-alpha.0.14
                    
#r "nuget: Rig.TUnit.Databases.Sql.SqlServer, 0.0.0-alpha.0.14"
                    
#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 Rig.TUnit.Databases.Sql.SqlServer@0.0.0-alpha.0.14
                    
#: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=Rig.TUnit.Databases.Sql.SqlServer&version=0.0.0-alpha.0.14&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Rig.TUnit.Databases.Sql.SqlServer&version=0.0.0-alpha.0.14&prerelease
                    
Install as a Cake Tool

Rig.TUnit

A TUnit-first integration-testing rig for .NET — fixtures, builders, and assertions for SQL, NoSQL, messaging, caching, storage, observability, security, and microservices.

dotnet add package Rig.TUnit --prerelease
dotnet add package Rig.TUnit.Databases.Sql.Postgresql --prerelease
[Test]
public async Task Repository_Persists(CancellationToken ct)
{
    await using var db = new PostgresFixture();
    await db.InitializeAsync();

    await using var conn = new NpgsqlConnection(db.ConnectionString);
    await conn.ExecuteAsync("INSERT INTO orders (id) VALUES (gen_random_uuid())");

    var count = await conn.ExecuteScalarAsync<int>("SELECT COUNT(*) FROM orders");
    await Assert.That(count).IsEqualTo(1);
}

What's inside

  • Container fixtures — one-line Testcontainers setup for every major datastore and broker.
  • Provider-specific assertions — fluent assertions tailored to each backend (tables, message ordering, blob existence, JWT claims, …).
  • Unified builder APIservices.AddRigTUnit(rig => rig.Use<X>(…)) wires fixtures into DI-first test setup.
  • Per-test isolation — every fixture derives an IsolationKey from the test execution context, guaranteeing zero cross-test state leakage even under full parallelism.

Provider families

Family Packages
SQL SqlServer · MySql · Postgresql · Oracle · Sqlite
NoSQL Redis · Mongo · Cosmos · Cassandra · Dynamo · ElasticSearch · KurrentDb
Messaging ServiceBus · Kafka · RabbitMq · Nats · Sqs
Caching Redis · Memory · Fusion · Hybrid
Storage AzureBlob · FileSystem · MinIO · S3
Observability Logging · AppInsights · Metrics · Tracing · Seq
Security Jwt · Policies · OAuth · Mtls
Microservices EventSourcing · Outbox · Inbox · Saga · Snapshots · Contracts
Infrastructure Http · Grpc · HealthChecks · Resilience · Mediator · Docker · WebAPI

Documentation

  • Full README + provider docs: https://github.com/FaysilAlshareef/Rig.TUnit
  • Quick-start, builder API, messaging topology, isolation guarantees: see the repo README.md.
  • Per-provider READMEs ship inside each leaf source folder.

License

MIT

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 (1)

Showing the top 1 NuGet packages that depend on Rig.TUnit.Databases.Sql.SqlServer:

Package Downloads
Rig.TUnit.All

Meta-package containing every Rig.TUnit.* package. DISCOURAGED — prefer per-feature or per-stack meta-packages (Rig.TUnit, Rig.TUnit.Microservices).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-beta.2 44 4/27/2026
0.0.0-alpha.0.14 54 4/26/2026