Soenneker.Utils.Test 11.0.347

Prefix Reserved
dotnet add package Soenneker.Utils.Test --version 11.0.347
                    
NuGet\Install-Package Soenneker.Utils.Test -Version 11.0.347
                    
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="Soenneker.Utils.Test" Version="11.0.347" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.Test" Version="11.0.347" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Utils.Test" />
                    
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 Soenneker.Utils.Test --version 11.0.347
                    
#r "nuget: Soenneker.Utils.Test, 11.0.347"
                    
#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 Soenneker.Utils.Test@11.0.347
                    
#: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=Soenneker.Utils.Test&version=11.0.347
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Test&version=11.0.347
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Utils.Test

A small test helper for building JSON configuration relative to the test process's working directory.

Installation

dotnet add package Soenneker.Utils.Test

Basic usage

using Soenneker.Utils.Test;

IConfiguration configuration = TestUtil.BuildConfig();

This requires appsettings.json in Directory.GetCurrentDirectory(). The file is loaded once; change monitoring is disabled.

Child directories and custom files

IConfiguration configuration = TestUtil.BuildConfig(
    childPath: "Fixtures",
    fileName: "integration-settings.json");

That reads:

<current working directory>/Fixtures/integration-settings.json

The base file is required. Missing files and malformed JSON propagate configuration-provider exceptions to the caller.

Environment overlay

IConfiguration configuration = TestUtil.BuildConfig(
    environmentName: "Development");

The helper first loads the required base file, then optionally loads appsettings.Development.json from the same directory. The environment file is optional and its values override the base configuration.

The overlay name is always appsettings.{environmentName}.json. Supplying a custom base filename does not change that convention.

Call TestUtil.BuildConfig directly; no dependency-injection registration is required. Because resolution starts from Directory.GetCurrentDirectory(), ensure your test runner copies settings files to its working directory or pass the appropriate child path.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Utils.Test:

Package Downloads
Soenneker.Playwrights.TestHosts

A test host for automated testing with Playwright

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.347 11,362 11/11/2026
11.0.346 8,707 11/10/2026
11.0.345 43,830 10/27/2026
11.0.344 5,436 10/26/2026
11.0.343 5,304 10/26/2026
4.0.342 14,394 10/25/2026
4.0.341 17,441 10/14/2026
4.0.340 9,324 10/14/2026
4.0.334 8,728 10/13/2026
4.0.332 25,906 10/11/2026
4.0.331 57,950 9/24/2026
4.0.330 31,443 9/15/2026
4.0.329 10,977 9/14/2026
4.0.328 36,693 9/8/2026
4.0.327 80,362 8/30/2026
4.0.326 19,603 8/29/2026
4.0.325 2,100 8/29/2026
4.0.324 63,966 8/12/2026
4.0.323 74,517 7/28/2026
4.0.322 69,058 7/16/2026
Loading failed

Upgrade .NET 11 release candidates to stable