Anarchy.Toolkit.Testing.Oracle
1.2.0
See the version list below for details.
dotnet add package Anarchy.Toolkit.Testing.Oracle --version 1.2.0
NuGet\Install-Package Anarchy.Toolkit.Testing.Oracle -Version 1.2.0
<PackageReference Include="Anarchy.Toolkit.Testing.Oracle" Version="1.2.0" />
<PackageVersion Include="Anarchy.Toolkit.Testing.Oracle" Version="1.2.0" />
<PackageReference Include="Anarchy.Toolkit.Testing.Oracle" />
paket add Anarchy.Toolkit.Testing.Oracle --version 1.2.0
#r "nuget: Anarchy.Toolkit.Testing.Oracle, 1.2.0"
#:package Anarchy.Toolkit.Testing.Oracle@1.2.0
#addin nuget:?package=Anarchy.Toolkit.Testing.Oracle&version=1.2.0
#tool nuget:?package=Anarchy.Toolkit.Testing.Oracle&version=1.2.0
Anarchy.Toolkit.Testing.Oracle
Oracle integration-test helpers for the toolkit's ODP.NET persistence adapter.
dotnet add package Anarchy.Toolkit.Testing.Oracle
- Use
OracleHelperorSingletonOracleHelperfor connection, pool, resilience and unit-of-work fixtures. OracleOptionsMappermaps options; helpers include generic enum type-handler registration and table cleanup.- Tests need an Oracle instance and a schema appropriate to the consuming application. Truncation uses plain
TRUNCATE TABLE, without identity restart or cascade.
When to use it
Use this package to test Oracle-specific SQL, mappings and persistence behavior against a real, isolated Oracle schema. It builds toolkit persistence fixtures but does not start Oracle or install your application schema.
How to use it
- Configure a test settings type implementing
IOracleAppSettings; policy fixtures also requireIResilienceAppSettings. Point it at a dedicated test instance and service name. - Call
OracleHelper.DbPolicyFixture<TAppSettings>()orOracleHelper.DbUnitOfWorkFixture<TAppSettings>(), or pass a settings instance to the corresponding overload. Generic fixtures load embedded settings from the assembly declaring the settings type. - Use the policy or unit of work in your repository test. Register enum handlers where required and clean up known test tables with the shared helpers.
SingletonOracleHelper shares a policy when that fits the test lifecycle. Coordinate parallel tests and cleanup, and do not use production schemas or credentials.
See Infrastructure.Persistence.Oracle, the testing conventions and the toolkit overview.
Releases
1.1.7
- docs: expand XML docblocks across all projects for the DocFX API reference
1.1.6
- References
Anarchy.Toolkit.Infrastructure.Persistence.Oracle1.1.5, aligned with the .NET 10 LTS.
1.1.5
- refactor(src): clean up code style across library packages
- chore(deps): update AWS SDK, Lambda ASP.NET Core server and MySqlConnector packages
1.1.4
- chore(deps): update AWS SDK packages
1.1.2
- build: migrate local automation to build tooling
1.1.1
- docs: expand package guides and release histories
- chore(deps): update AWS, Polly, and xUnit packages
1.1.0
- Updated the database testing and Oracle persistence dependencies alongside configurable maximum pool size support.
1.0.1
- Added a package-specific NuGet README.
1.0.0
- Introduced Oracle integration test helpers, including a singleton variant and options mapper.
| 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. |
-
net10.0
- Amazon.Extensions.Configuration.SystemsManager (>= 7.1.1)
- Amazon.Lambda.APIGatewayEvents (>= 3.0.1)
- Amazon.Lambda.Core (>= 3.4.0)
- Amazon.Lambda.TestUtilities (>= 4.3.0)
- Anarchy.Toolkit.Infrastructure.Persistence.Oracle (>= 1.2.0)
- Anarchy.Toolkit.Testing (>= 1.1.0)
- Anarchy.Toolkit.Testing.Db (>= 1.2.0)
- AwesomeAssertions (>= 9.6.0)
- AWSSDK.Core (>= 4.1.0.1)
- AWSSDK.KeyManagementService (>= 4.1.0)
- AWSSDK.SecretsManager (>= 4.1.1)
- Dapper (= 2.1.79)
- Humanizer (>= 3.0.10)
- Microsoft.AspNetCore.WebUtilities (>= 10.0.15)
- Microsoft.Extensions.Caching.Memory (>= 10.0.15)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Configuration.Json (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Hosting (>= 10.0.15)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.15)
- Microsoft.Identity.Client (>= 4.92.0)
- Microsoft.NET.Test.Sdk (>= 18.12.0)
- Moq (>= 4.21.0)
- Newtonsoft.Json (>= 13.0.4)
- Oracle.ManagedDataAccess.Core (>= 23.26.400)
- Polly.Core (>= 8.9.1)
- Serilog (>= 4.4.0)
- Serilog.Sinks.Console (>= 6.1.1)
- Spectre.Console (>= 0.57.2)
- System.Security.Cryptography.Pkcs (>= 10.0.15)
- xunit.v3.extensibility.core (>= 4.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release.