Rig.TUnit.Storage.FileSystem
0.0.0-alpha.0.14
This is a prerelease version of Rig.TUnit.Storage.FileSystem.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Rig.TUnit.Storage.FileSystem --version 0.0.0-alpha.0.14
NuGet\Install-Package Rig.TUnit.Storage.FileSystem -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.Storage.FileSystem" 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.Storage.FileSystem" Version="0.0.0-alpha.0.14" />
<PackageReference Include="Rig.TUnit.Storage.FileSystem" />
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.Storage.FileSystem --version 0.0.0-alpha.0.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Rig.TUnit.Storage.FileSystem, 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.Storage.FileSystem@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.Storage.FileSystem&version=0.0.0-alpha.0.14&prerelease
#tool nuget:?package=Rig.TUnit.Storage.FileSystem&version=0.0.0-alpha.0.14&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 API —
services.AddRigTUnit(rig => rig.Use<X>(…))wires fixtures into DI-first test setup. - Per-test isolation — every fixture derives an
IsolationKeyfrom 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
| Product | Versions 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.
-
net10.0
- Bogus (>= 35.6.1)
- Microsoft.Extensions.Configuration (>= 10.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Options (>= 10.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.0)
- Rig.TUnit.Storage (>= 0.0.0-alpha.0.14)
- System.IO.Abstractions (>= 21.1.3)
- TUnit.Core (>= 1.34.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Rig.TUnit.Storage.FileSystem:
| 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 | 45 | 4/26/2026 |