Soenneker.Tests.Integration 4.0.896

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

Soenneker.Tests.Integration

Represents an integration test over a WebApplicationFactory{TEntryPoint}.

Install

dotnet add package Soenneker.Tests.Integration

Quick start

using Soenneker.Tests.Integration.Abstract;

IIntegrationTest<TStartup> integrationTest = /* resolve from DI */;
var result = integrationTest.Resolve();

Resolves a service from the application service provider.

What you get

  • IIntegrationTest<TStartup> — Represents an integration test over a WebApplicationFactory{TEntryPoint}.

API at a glance

API What it does Result / important behavior
IIntegrationTest<TStartup>.Factory The WebApplicationFactory used for creating test HTTP clients. The WebApplicationFactory used for creating test HTTP clients.
IIntegrationTest<TStartup>.Client Fully authenticated admin test client. Fully authenticated admin test client.
IIntegrationTest<TStartup>.Faker Faker instance for generating fake data. Faker instance for generating fake data.
IIntegrationTest<TStartup>.AutoFaker AutoFaker instance for generating auto-populated fake data. AutoFaker instance for generating auto-populated fake data.
IIntegrationTest<TStartup>.Scope The current async service scope used for resolving scoped services. The current async service scope used for resolving scoped services.
IIntegrationTest<TStartup>.Resolve(scoped) Resolves a service from the application service provider. The resolved service.
IIntegrationTest<TStartup>.WaitOnQueueToEmpty(cancellationToken) Waits until the background queue has finished processing all items. A ValueTask representing the asynchronous operation.
IIntegrationTest<TStartup>.CreateScope() Creates a new async scope for resolving scoped services. Returns no value; the requested change is complete when the method returns.

Practical notes

  • Cancellation stops pending work; it does not undo work that has already completed.
  • Dispose instances you own when their scope ends so held resources can be released.
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.

Version Downloads Last Updated
4.0.896 0 8/29/2026
4.0.894 0 8/29/2026
4.0.893 0 8/29/2026
4.0.892 0 8/29/2026
4.0.890 41 8/27/2026
4.0.889 46 8/27/2026
4.0.888 60 8/26/2026
4.0.887 61 8/26/2026
4.0.886 67 8/26/2026
4.0.885 77 8/26/2026
4.0.884 71 8/25/2026
4.0.883 73 8/25/2026
4.0.882 73 8/25/2026
4.0.881 90 8/22/2026
4.0.879 82 8/21/2026
4.0.878 98 8/21/2026
4.0.877 87 8/21/2026
4.0.876 98 8/20/2026
4.0.875 103 8/20/2026
4.0.874 86 8/19/2026
Loading failed

Update dependency Soenneker.Tests.Logging to 4.0.154 (#1421)