Cuemon.Extensions.Xunit.Hosting.AspNetCore
9.0.0-preview.5
Prefix Reserved
dotnet add package Cuemon.Extensions.Xunit.Hosting.AspNetCore --version 9.0.0-preview.5
NuGet\Install-Package Cuemon.Extensions.Xunit.Hosting.AspNetCore -Version 9.0.0-preview.5
<PackageReference Include="Cuemon.Extensions.Xunit.Hosting.AspNetCore" Version="9.0.0-preview.5" />
paket add Cuemon.Extensions.Xunit.Hosting.AspNetCore --version 9.0.0-preview.5
#r "nuget: Cuemon.Extensions.Xunit.Hosting.AspNetCore, 9.0.0-preview.5"
// Install Cuemon.Extensions.Xunit.Hosting.AspNetCore as a Cake Addin #addin nuget:?package=Cuemon.Extensions.Xunit.Hosting.AspNetCore&version=9.0.0-preview.5&prerelease // Install Cuemon.Extensions.Xunit.Hosting.AspNetCore as a Cake Tool #tool nuget:?package=Cuemon.Extensions.Xunit.Hosting.AspNetCore&version=9.0.0-preview.5&prerelease
About
An open-source project (MIT license) that targets and complements the Microsoft .NET platform. It provides vast ways of possibilities for all breeds of coders, programmers, developers and the likes thereof. Your ideal companion for .NET 8, .NET 7, .NET 6, .NET Standard 2 and .NET Framework 4.6.2 and newer.
It is, by heart, free, flexible and built to extend and boost your agile codebelt.
Cuemon.Extensions.Xunit.Hosting.AspNetCore for .NET
The Cuemon.Extensions.Xunit.Hosting.AspNetCore
namespace contains types that provides a uniform way of doing unit testing that depends on ASP.NET Core and used in conjunction with Microsoft Dependency Injection. The namespace relates to the Microsoft.AspNetCore.TestHost
namespace.
More documentation available at our documentation site:
- Cuemon.Extensions.Xunit.Hosting.AspNetCore 🔗
- Cuemon.Extensions.Xunit.Hosting.AspNetCore.Http 🔗
- Cuemon.Extensions.Xunit.Hosting.AspNetCore.Http.Features 🔗
Related Packages
- Cuemon.AspNetCore 📦
- Cuemon.AspNetCore.App 🏭
- Cuemon.AspNetCore.Authentication 📦
- Cuemon.AspNetCore.Mvc 📦
- Cuemon.AspNetCore.Razor.TagHelpers 📦
- Cuemon.Core 📦
- Cuemon.Core.App 🏭
- Cuemon.Data 📦
- Cuemon.Data.Integrity 📦
- Cuemon.Data.SqlClient 📦
- Cuemon.Diagnostics 📦
- Cuemon.Extensions.Globalization 📦
- Cuemon.Extensions.AspNetCore 📦
- Cuemon.Extensions.AspNetCore.Authentication 📦
- Cuemon.Extensions.AspNetCore.Authentication.AwsSignature4 📦
- Cuemon.Extensions.AspNetCore.Mvc 📦
- Cuemon.Extensions.AspNetCore.Mvc.Formatters.Newtonsoft.Json 📦
- Cuemon.Extensions.AspNetCore.Mvc.Formatters.Text.Json 📦
- Cuemon.Extensions.AspNetCore.Mvc.Formatters.Xml 📦
- Cuemon.Extensions.AspNetCore.Mvc.RazorPages 📦
- Cuemon.Extensions.AspNetCore.Newtonsoft.Json 📦
- Cuemon.Extensions.AspNetCore.Text.Json 📦
- Cuemon.Extensions.AspNetCore.Xml 📦
- Cuemon.Extensions.Collections.Generic 📦
- Cuemon.Extensions.Collections.Specialized 📦
- Cuemon.Extensions.Core 📦
- Cuemon.Extensions.Data 📦
- Cuemon.Extensions.Data.Integrity 📦
- Cuemon.Extensions.DependencyInjection 📦
- Cuemon.Extensions.Diagnostics 📦
- Cuemon.Extensions.Asp.Versioning 📦
- Cuemon.Extensions.Hosting 📦
- Cuemon.Extensions.IO 📦
- Cuemon.Extensions.Net 📦
- Cuemon.Extensions.Newtonsoft.Json 📦
- Cuemon.Extensions.Newtonsoft.Json.App 🏭
- Cuemon.Extensions.Reflection 📦
- Cuemon.Extensions.Runtime.Caching 📦
- Cuemon.Extensions.Swashbuckle.AspNetCore 📦
- Cuemon.Extensions.Text 📦
- Cuemon.Extensions.Text.Json 📦
- Cuemon.Extensions.Threading 📦
- Cuemon.Extensions.Xml 📦
- Cuemon.Extensions.Xunit 📦
- Cuemon.Extensions.Xunit.App 🏭
- Cuemon.Extensions.Xunit.Hosting 📦
- Cuemon.Extensions.Xunit.Hosting.AspNetCore 📦
- Cuemon.Extensions.YamlDotNet 📦
- Cuemon.IO 📦
- Cuemon.Net 📦
- Cuemon.Resilience 📦
- Cuemon.Runtime.Caching 📦
- Cuemon.Security.Cryptography 📦
- Cuemon.Threading 📦
- Cuemon.Xml 📦
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
-
net6.0
- Cuemon.Extensions.DependencyInjection (>= 9.0.0-preview.5)
- Cuemon.Extensions.Xunit.Hosting (>= 9.0.0-preview.5)
- Cuemon.IO (>= 9.0.0-preview.5)
- Microsoft.AspNetCore.TestHost (>= 6.0.33)
-
net8.0
- Cuemon.Extensions.DependencyInjection (>= 9.0.0-preview.5)
- Cuemon.Extensions.Xunit.Hosting (>= 9.0.0-preview.5)
- Cuemon.IO (>= 9.0.0-preview.5)
- Microsoft.AspNetCore.TestHost (>= 8.0.8)
-
net9.0
- Cuemon.Extensions.DependencyInjection (>= 9.0.0-preview.5)
- Cuemon.Extensions.Xunit.Hosting (>= 9.0.0-preview.5)
- Cuemon.IO (>= 9.0.0-preview.5)
- Microsoft.AspNetCore.TestHost (>= 9.0.0-rc.1.24452.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Cuemon.Extensions.Xunit.Hosting.AspNetCore:
Package | Downloads |
---|---|
Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc
The Cuemon.Extensions.Xunit.Hosting.AspNetCore.Mvc namespace contains types that provides a uniform way of doing unit testing that depends on ASP.NET Core MVC and used in conjunction with Microsoft Dependency Injection. The namespace relates to the Microsoft.AspNetCore.Mvc.Testing namespace. |
|
Cuemon.Extensions.Xunit.App
Provides a convenient set of default API additions for building .NET test projects based on xUnit. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.3.2 | 1,135 | 8/4/2024 |
8.3.1 | 740 | 6/2/2024 |
8.3.0 | 325 | 4/9/2024 |
8.2.0 | 593 | 3/3/2024 |
8.1.0 | 452 | 2/10/2024 |
8.1.0-rc1 | 284 | 2/8/2024 |
8.1.0-preview.52 | 68 | 2/5/2024 |
8.1.0-preview.20 | 70 | 1/22/2024 |
8.1.0-preview | 299 | 1/16/2024 |
8.0.1 | 396 | 1/11/2024 |
8.0.0 | 633 | 11/14/2023 |
8.0.0-rc2 | 129 | 11/13/2023 |
8.0.0-rc1 | 154 | 11/7/2023 |
8.0.0-preview.183 | 79 | 11/13/2023 |
8.0.0-preview.176 | 73 | 11/12/2023 |
8.0.0-preview.158 | 59 | 11/9/2023 |
7.1.0 | 1,949 | 12/11/2022 |
7.0.0 | 2,139 | 11/9/2022 |
7.0.0-rc.2 | 118 | 11/3/2022 |
7.0.0-rc.1 | 116 | 10/26/2022 |
7.0.0-alpha.2 | 124 | 10/16/2022 |
7.0.0-alpha.1 | 130 | 9/23/2022 |
7.0.0-alpha | 940 | 7/12/2022 |
6.4.1 | 2,572 | 5/8/2022 |
6.4.0 | 1,676 | 1/24/2022 |
6.4.0-rc | 952 | 1/23/2022 |
6.3.0 | 2,276 | 11/28/2021 |
6.2.0 | 1,527 | 5/30/2021 |
6.1.0 | 1,265 | 5/16/2021 |
6.0.1 | 1,163 | 5/3/2021 |
6.0.1-rc | 893 | 5/3/2021 |
6.0.0 | 1,190 | 4/18/2021 |
6.0.0-rc.23 | 187 | 4/18/2021 |
6.0.0-rc.21 | 155 | 4/12/2021 |
6.0.0-rc.20 | 165 | 4/1/2021 |
6.0.0-rc.18 | 261 | 3/22/2021 |
6.0.0-rc.17 | 168 | 3/14/2021 |
6.0.0-rc.16 | 192 | 3/7/2021 |
6.0.0-rc.15 | 177 | 3/4/2021 |
6.0.0-rc.14 | 204 | 3/4/2021 |
6.0.0-rc.12 | 205 | 3/3/2021 |
6.0.0-rc.6 | 191 | 2/28/2021 |
6.0.0-rc.2 | 188 | 2/28/2021 |
Version 9.0.0
Availability: .NET 9, .NET 8 and .NET 6
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
# Breaking Changes
- REMOVED IMiddlewareTest interface from the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace
- REMOVED MiddlewareTestFactory static class from the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace
- RENAMED Run method on the WebHostTestFactory class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore to RunAsync
- RENAMED RunWithHostBuilderContext method on the WebHostTestFactory class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore to RunWithHostBuilderContextAsync
# Improvements
- CHANGED AspNetCoreHostFixture class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace to use same hostbuilder validation as introduced with .NET preview 7
# New Features
- ADDED HttpClientExtensions class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that consist of one extension method for the HttpClient class: ToHttpResponseMessageAsync
Version 8.3.2
Availability: .NET 8 and .NET 6
# ALM
- REMOVED Support for TFM .NET 7 (STS)
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version 8.3.1
Availability: .NET 8, .NET 7 and .NET 6
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
# Improvements
- ADDED IWebHostTest interface in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that represents the members needed for ASP.NET Core (including but not limited to MVC, Razor and related) testing
- ADDED WebHostTestFactory class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that provides a set of static methods for ASP.NET Core (including, but not limited to MVC, Razor and related) unit testing
- DEPRECATED IMiddlewareTest interface in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace; use the consolidated IWebHostTest instead
- DEPRECATED MiddlewareTestFactory class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace; use the consolidated WebHostTestFactory instead
Version 8.3.0
Availability: .NET 8, .NET 7 and .NET 6
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version 8.2.0
Availability: .NET 8, .NET 7 and .NET 6
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version: 8.1.0
Availability: .NET 8, .NET 7 and .NET 6
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version: 8.0.1
Availability: .NET 8, .NET 7 and .NET 6
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFMs
Version: 8.0.0
Availability: .NET 8, .NET 7 and .NET 6
# ALM
- ADDED TFM for net8.0
- REMOVED TFM for netstandard2.0
- CHANGED Dependencies to latest and greatest with respect to TFMs
# Breaking Changes
- CHANGED MiddlewareTestFactory class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace received a long overdue change of signature from Action{IApplicationBuilder} pipelineSetup, Action{IServiceCollection} serviceSetup --> Action{IServiceCollection} serviceSetup, Action{IApplicationBuilder} pipelineSetup as this is more logical, intuitive and in consistency with GenericHostTestFactory