![]() |
VOOZH | about |
dotnet add package Rig.TUnit.Databases.NoSql.Dynamo --version 0.1.0-beta.2
NuGet\Install-Package Rig.TUnit.Databases.NoSql.Dynamo -Version 0.1.0-beta.2
<PackageReference Include="Rig.TUnit.Databases.NoSql.Dynamo" Version="0.1.0-beta.2" />
<PackageVersion Include="Rig.TUnit.Databases.NoSql.Dynamo" Version="0.1.0-beta.2" />Directory.Packages.props
<PackageReference Include="Rig.TUnit.Databases.NoSql.Dynamo" />Project file
paket add Rig.TUnit.Databases.NoSql.Dynamo --version 0.1.0-beta.2
#r "nuget: Rig.TUnit.Databases.NoSql.Dynamo, 0.1.0-beta.2"
#:package Rig.TUnit.Databases.NoSql.Dynamo@0.1.0-beta.2
#addin nuget:?package=Rig.TUnit.Databases.NoSql.Dynamo&version=0.1.0-beta.2&prereleaseInstall as a Cake Addin
#tool nuget:?package=Rig.TUnit.Databases.NoSql.Dynamo&version=0.1.0-beta.2&prereleaseInstall as a Cake Tool
LocalStack-backed Amazon DynamoDB fixture with
GsiVerifierfor declarative Global-Secondary-Index assertions.
The Rig.TUnit DynamoDB provider. DynamoFixture spins a LocalStack
container with the DynamoDB feature enabled and exposes an
AmazonDynamoDBClient pointing at it. Ships GsiVerifier — a declarative
GSI assertion helper that checks name, partition key, sort key, and
status against the live table schema, saving reams of boilerplate WAIT FOR GSI ACTIVE polling code.
AWSSDK.DynamoDBv2 (transitive)using Amazon.DynamoDBv2.Model;
using Rig.TUnit.Databases.NoSql.Dynamo.Fixtures;
using Rig.TUnit.Databases.NoSql.Dynamo.Helpers;
await using var fx = new DynamoFixture();
await fx.InitializeAsync();
await fx.Client.CreateTableAsync(new CreateTableRequest
{
TableName = "orders",
KeySchema = [new("Pk", Amazon.DynamoDBv2.KeyType.HASH)],
AttributeDefinitions = [new("Pk", Amazon.DynamoDBv2.ScalarAttributeType.S)],
BillingMode = Amazon.DynamoDBv2.BillingMode.PAY_PER_REQUEST,
});
| Property | Type | Default | Description |
|---|---|---|---|
Image |
string |
"localstack/localstack:3" |
LocalStack image |
StartupTimeoutSeconds |
int |
120 |
LocalStack boot |
AccessKeyId |
string |
"test" |
LocalStack default |
SecretAccessKey |
string |
"test" |
LocalStack default |
Region |
string |
"us-east-1" |
Region label |
Rig.TUnit.Databases.NoSql.Dynamo.Fixtures.DynamoFixtureRig.TUnit.Databases.NoSql.Dynamo.Options.DynamoFixtureOptionsRig.TUnit.Databases.NoSql.Dynamo.Builder.DynamoRigBuilderRig.TUnit.Databases.NoSql.Dynamo.Helpers.GsiVerifierRig.TUnit.Databases.NoSql.Dynamo.Helpers.GsiExpectationPer-test table naming via IsolationKey: orders_{IsolationKey:short}.
Table create is ~100 ms (LocalStack's DynamoDB emulation is CPU-fast).
Teardown deletes the table.
ResourceNotFoundException after CreateTableAsync — LocalStack
creates the table asynchronously; WaitForTableActive or
GsiVerifier.VerifyAsync polls until TableStatus=ACTIVE. Do not assume
immediate readiness.ConsistentRead=true on your test queries to match the production
guarantee.See .
ALL, KEYS_ONLY, or INCLUDE; GsiExpectation
currently validates name + keys, not projection shape (open issue).See ;
baseline in benchmarks/baseline-005.json.
MIT. See .
| 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 1 NuGet packages that depend on Rig.TUnit.Databases.NoSql.Dynamo:
| 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). |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-beta.2 | 64 | 4/27/2026 |
| 0.0.0-alpha.0.14 | 61 | 4/26/2026 |