Anarchy.Toolkit.Testing.Oracle 1.1.5

Suggested Alternatives

Anarchy.Toolkit.Testing.Db.Oracle

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anarchy.Toolkit.Testing.Oracle --version 1.1.5
                    
NuGet\Install-Package Anarchy.Toolkit.Testing.Oracle -Version 1.1.5
                    
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="Anarchy.Toolkit.Testing.Oracle" Version="1.1.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anarchy.Toolkit.Testing.Oracle" Version="1.1.5" />
                    
Directory.Packages.props
<PackageReference Include="Anarchy.Toolkit.Testing.Oracle" />
                    
Project file
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 Anarchy.Toolkit.Testing.Oracle --version 1.1.5
                    
#r "nuget: Anarchy.Toolkit.Testing.Oracle, 1.1.5"
                    
#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 Anarchy.Toolkit.Testing.Oracle@1.1.5
                    
#: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=Anarchy.Toolkit.Testing.Oracle&version=1.1.5
                    
Install as a Cake Addin
#tool nuget:?package=Anarchy.Toolkit.Testing.Oracle&version=1.1.5
                    
Install as a Cake Tool

Anarchy.Toolkit.Testing.Oracle

Oracle integration-test helpers for the toolkit's ODP.NET persistence adapter.

dotnet add package Anarchy.Toolkit.Testing.Oracle
  • Use OracleHelper or SingletonOracleHelper for connection, pool, resilience and unit-of-work fixtures.
  • OracleOptionsMapper maps 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

  1. Configure a test settings type implementing IOracleAppSettings; policy fixtures also require IResilienceAppSettings. Point it at a dedicated test instance and service name.
  2. Call OracleHelper.DbPolicyFixture<TAppSettings>() or OracleHelper.DbUnitOfWorkFixture<TAppSettings>(), or pass a settings instance to the corresponding overload. Generic fixtures load embedded settings from the assembly declaring the settings type.
  3. 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.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 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.

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.