![]() |
VOOZH | about |
dotnet add package Rig.TUnit.Databases.Sql.Oracle --version 0.1.0-beta.2
NuGet\Install-Package Rig.TUnit.Databases.Sql.Oracle -Version 0.1.0-beta.2
<PackageReference Include="Rig.TUnit.Databases.Sql.Oracle" Version="0.1.0-beta.2" />
<PackageVersion Include="Rig.TUnit.Databases.Sql.Oracle" Version="0.1.0-beta.2" />Directory.Packages.props
<PackageReference Include="Rig.TUnit.Databases.Sql.Oracle" />Project file
paket add Rig.TUnit.Databases.Sql.Oracle --version 0.1.0-beta.2
#r "nuget: Rig.TUnit.Databases.Sql.Oracle, 0.1.0-beta.2"
#:package Rig.TUnit.Databases.Sql.Oracle@0.1.0-beta.2
#addin nuget:?package=Rig.TUnit.Databases.Sql.Oracle&version=0.1.0-beta.2&prereleaseInstall as a Cake Addin
#tool nuget:?package=Rig.TUnit.Databases.Sql.Oracle&version=0.1.0-beta.2&prereleaseInstall as a Cake Tool
Testcontainers-backed Oracle fixture using
gvenzl/oracle-free:23.5-slim-faststartandOracle.EntityFrameworkCore.
An Oracle Free integration fixture. OracleFixture spins the
gvenzl/oracle-free:23.5-slim-faststart image — the fastest-to-boot Oracle
container variant (~60–90 s warm, considerably more on first pull) — and
exposes a working connection string plus an EF Core extension
(UseOracle) for the Oracle.EntityFrameworkCore provider.
Integrates with Rig.TUnit.Databases.Sql's family contract so the same
semantic assertions run across MySql / Postgres / Oracle / SqlServer /
Sqlite.
MERGE, RETURNING INTO).Oracle.EntityFrameworkCore transitively included via this package.using Microsoft.EntityFrameworkCore;
using Rig.TUnit.Databases.Sql.Oracle.Extensions;
using Rig.TUnit.Databases.Sql.Oracle.Fixtures;
await using var fx = new OracleFixture();
await fx.InitializeAsync();
var opts = new DbContextOptionsBuilder<TestDb>()
.UseOracle(fx.ConnectionString)
.Options;
| Property | Type | Default | Description |
|---|---|---|---|
Image |
string |
"gvenzl/oracle-free:23.5-slim-faststart" |
Container image |
StartupTimeoutSeconds |
int |
300 |
First pull can exceed 3 min |
Username |
string |
"rigtunit" |
Test schema user |
Password |
string |
"rigtunit" |
Test schema password |
Rig.TUnit.Databases.Sql.Oracle.Fixtures.OracleFixtureRig.TUnit.Databases.Sql.Oracle.Options.OracleFixtureOptionsRig.TUnit.Databases.Sql.Oracle.Builder.OracleRigBuilderUseOracle(RigBuilder, …) extensionUseOracle(DbContextOptionsBuilder, string) — EF wiringOracle uses schema-per-test via IsolationKey-derived user names. Tests
create CREATE USER {iso} IDENTIFIED BY … in Arrange and DROP USER {iso} CASCADE in teardown. Because CREATE USER requires session privs,
the fixture pre-provisions a test-DBA schema.
Iterations at 2–4 — more will exhaust
Oracle's default processes limit (150).ORA-00020: maximum number of processes exceeded — reduce
Iterations in your ParallelIsolationContract subclass, or configure
the container with -e ORACLE_PROCESSES=500.gvenzl/oracle-free:23.5-slim-faststart is the
fastest variant; oracle-free:23.5-slim is 2× slower; the full
oracle-free:23.5 is 5× slower.See .
"Orders" vs orders distinctness.COMPATIBLE=12.2 is disabled; Free ships with it enabled).NUMBER with no precision maps to decimal(38,0) by default — specify
HasPrecision(…) in OnModelCreating to avoid silent truncation.TIMESTAMP WITH LOCAL TIME ZONE behaviour differs from WITH TIME ZONE
— Oracle stores UTC for the former, offset for the latter.See ;
baseline in benchmarks/baseline-005.json. Oracle's per-test cost is the
largest in the SQL family — tracked closely.
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.Sql.Oracle:
| 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 | 74 | 4/27/2026 |
| 0.0.0-alpha.0.14 | 78 | 4/26/2026 |