![]() |
VOOZH | about |
dotnet add package Rig.TUnit.Databases --version 0.1.0-beta.2
NuGet\Install-Package Rig.TUnit.Databases -Version 0.1.0-beta.2
<PackageReference Include="Rig.TUnit.Databases" Version="0.1.0-beta.2" />
<PackageVersion Include="Rig.TUnit.Databases" Version="0.1.0-beta.2" />Directory.Packages.props
<PackageReference Include="Rig.TUnit.Databases" />Project file
paket add Rig.TUnit.Databases --version 0.1.0-beta.2
#r "nuget: Rig.TUnit.Databases, 0.1.0-beta.2"
#:package Rig.TUnit.Databases@0.1.0-beta.2
#addin nuget:?package=Rig.TUnit.Databases&version=0.1.0-beta.2&prereleaseInstall as a Cake Addin
#tool nuget:?package=Rig.TUnit.Databases&version=0.1.0-beta.2&prereleaseInstall as a Cake Tool
Base package for the Rig.TUnit database testing ecosystem. Defines IDbRig, DbFixtureBase, DatabaseRigBuilder<TSelf>, seeding, and provider-agnostic assertions (DatabaseAssert, MigrationAssert). Concrete providers live in Rig.TUnit.Databases.Sql.* and Rig.TUnit.Databases.NoSql.*.
dotnet add package Rig.TUnit.Databases
public sealed class MyRig : CompositeFixture
{
public SqlServerFixture Db { get; } = new(); // from .Sql.SqlServer provider
}
[Test]
public async Task MyHandler_WhenInserted_IsFound()
{
await using var rig = new MyRig();
await rig.InitializeAsync();
await SeedBuilder<Customer>.Create()
.Generate(5, f => f.CustomInstantiator(x => new Customer(x.UniqueIndex, x.Name.First())))
.BuildInto(rig.Db);
}
Rig.TUnit.Core
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 4 NuGet packages that depend on Rig.TUnit.Databases:
| Package | Downloads |
|---|---|
|
Rig.TUnit.Databases.NoSql
NoSQL family base - INoSqlFixture, change-feed utilities, conflict-resolution helpers. Pull a leaf provider for a working fixture. |
|
|
Rig.TUnit.Databases.Sql
SQL family base - ISqlFixture, schema helpers, transaction-isolation utilities. Pull a leaf package (SqlServer, Postgresql, MySql, Oracle, Sqlite) for a working fixture. |
|
|
Rig.TUnit.All
Meta-package containing every Rig.TUnit.* package. DISCOURAGED — prefer per-feature or per-stack meta-packages (Rig.TUnit, Rig.TUnit.Microservices). |
|
|
Rig.TUnit.Microservices.Outbox
TUnit fixture for the transactional outbox pattern - visibility-timeout helpers, dispatcher assertions, and dedup checks. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-beta.2 | 109 | 4/27/2026 |
| 0.0.0-alpha.0.14 | 90 | 4/26/2026 |