Cuemon.Extensions.Xunit.Hosting.AspNetCore
8.0.0-preview.158
Prefix Reserved
See the version list below for details.
dotnet add package Cuemon.Extensions.Xunit.Hosting.AspNetCore --version 8.0.0-preview.158
NuGet\Install-Package Cuemon.Extensions.Xunit.Hosting.AspNetCore -Version 8.0.0-preview.158
<PackageReference Include="Cuemon.Extensions.Xunit.Hosting.AspNetCore" Version="8.0.0-preview.158" />
paket add Cuemon.Extensions.Xunit.Hosting.AspNetCore --version 8.0.0-preview.158
#r "nuget: Cuemon.Extensions.Xunit.Hosting.AspNetCore, 8.0.0-preview.158"
// Install Cuemon.Extensions.Xunit.Hosting.AspNetCore as a Cake Addin #addin nuget:?package=Cuemon.Extensions.Xunit.Hosting.AspNetCore&version=8.0.0-preview.158&prerelease // Install Cuemon.Extensions.Xunit.Hosting.AspNetCore as a Cake Tool #tool nuget:?package=Cuemon.Extensions.Xunit.Hosting.AspNetCore&version=8.0.0-preview.158&prerelease
About
An open-source family of assemblies (MIT license) that targets and complements the Microsoft .NET platform (.NET 7, .NET 6, .NET Standard 2, Universal Windows Platform and .NET Framework 4.6.1 and newer) by providing vast ways of possibilities for all breeds of coders, programmers, developers and the likes thereof.
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 Cuemon for .NET documentation.
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.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.Xunit.Hosting.AspNetCore.Mvc 📦
- 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 is compatible. 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. |
-
net6.0
- Cuemon.Extensions.DependencyInjection (>= 8.0.0-preview.158)
- Cuemon.Extensions.Xunit.Hosting (>= 8.0.0-preview.158)
- Cuemon.IO (>= 8.0.0-preview.158)
- Microsoft.AspNetCore.TestHost (>= 6.0.24)
-
net7.0
- Cuemon.Extensions.DependencyInjection (>= 8.0.0-preview.158)
- Cuemon.Extensions.Xunit.Hosting (>= 8.0.0-preview.158)
- Cuemon.IO (>= 8.0.0-preview.158)
- Microsoft.AspNetCore.TestHost (>= 7.0.13)
-
net8.0
- Cuemon.Extensions.DependencyInjection (>= 8.0.0-preview.158)
- Cuemon.Extensions.Xunit.Hosting (>= 8.0.0-preview.158)
- Cuemon.IO (>= 8.0.0-preview.158)
- Microsoft.AspNetCore.TestHost (>= 8.0.0-rc.2.23480.2)
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 |
---|---|---|
9.0.0-preview.5 | 55 | 9/13/2024 |
9.0.0-preview.4 | 564 | 9/6/2024 |
9.0.0-preview.3 | 50 | 8/31/2024 |
9.0.0-preview.2 | 74 | 8/23/2024 |
9.0.0-preview.1 | 64 | 8/17/2024 |
8.3.2 | 1,122 | 8/4/2024 |
8.3.1 | 739 | 6/2/2024 |
8.3.0 | 324 | 4/9/2024 |
8.2.0 | 592 | 3/3/2024 |
8.1.0 | 449 | 2/10/2024 |
8.1.0-rc1 | 283 | 2/8/2024 |
8.1.0-preview.52 | 67 | 2/5/2024 |
8.1.0-preview.20 | 69 | 1/22/2024 |
8.1.0-preview | 298 | 1/16/2024 |
8.0.1 | 393 | 1/11/2024 |
8.0.0 | 632 | 11/14/2023 |
8.0.0-rc2 | 128 | 11/13/2023 |
8.0.0-rc1 | 153 | 11/7/2023 |
8.0.0-preview.183 | 78 | 11/13/2023 |
8.0.0-preview.176 | 72 | 11/12/2023 |
8.0.0-preview.158 | 58 | 11/9/2023 |
7.1.0 | 1,942 | 12/11/2022 |
7.0.0 | 2,138 | 11/9/2022 |
7.0.0-rc.2 | 117 | 11/3/2022 |
7.0.0-rc.1 | 115 | 10/26/2022 |
7.0.0-alpha.2 | 123 | 10/16/2022 |
7.0.0-alpha.1 | 129 | 9/23/2022 |
7.0.0-alpha | 939 | 7/12/2022 |
6.4.1 | 2,559 | 5/8/2022 |
6.4.0 | 1,675 | 1/24/2022 |
6.4.0-rc | 951 | 1/23/2022 |
6.3.0 | 2,275 | 11/28/2021 |
6.2.0 | 1,526 | 5/30/2021 |
6.1.0 | 1,264 | 5/16/2021 |
6.0.1 | 1,162 | 5/3/2021 |
6.0.1-rc | 892 | 5/3/2021 |
6.0.0 | 1,189 | 4/18/2021 |
6.0.0-rc.23 | 186 | 4/18/2021 |
6.0.0-rc.21 | 154 | 4/12/2021 |
6.0.0-rc.20 | 164 | 4/1/2021 |
6.0.0-rc.18 | 260 | 3/22/2021 |
6.0.0-rc.17 | 167 | 3/14/2021 |
6.0.0-rc.16 | 191 | 3/7/2021 |
6.0.0-rc.15 | 176 | 3/4/2021 |
6.0.0-rc.14 | 203 | 3/4/2021 |
6.0.0-rc.12 | 204 | 3/3/2021 |
6.0.0-rc.6 | 190 | 2/28/2021 |
6.0.0-rc.2 | 187 | 2/28/2021 |
Version: 7.1.0
Availability: .NET 6.0, .NET 7.0
# ALM
- REMOVED TFM for .NET Core 3.1
- CHANGED Dependencies to latest and greatest with respect to TFM
Version: 7.0.0
Availability: .NET Core 3.1, .NET 6.0, .NET 7.0
# ALM
- ADDED TFM for .NET 7
- REMOVED TFM for .NET 5
- CHANGED Dependencies to latest and greatest with respect to TFM
# Breaking Changes
- CHANGED MiddlewareTestFactory class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace to have non-ambiguous overloads of CreateMiddlewareTest -> Create, CreateWithHostBuilderContext and RunMiddlewareTest -> Run, RunWithHostBuilderContext
# Bug Fixes
- FIXED FakeHttpResponseFeature class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore.Http.Features namespace so that the OnStarting method ensures that callback delegate is only run once per response
Version: 6.4.1
Availability: .NET Core 3.1, .NET 5.0, .NET 6.0
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFM
Version: 6.4.0
Availability: .NET Core 3.1, .NET 5.0, .NET 6.0
# ALM
- CHANGED Dependencies to latest and greatest with respect to TFM
Version: 6.3.0
Availability: .NET Core 3.1, .NET 5.0, .NET 6.0
# ALM
- ADDED TFM for .NET 6
- CHANGED Dependencies to latest and greatest with respect to TFM
# New Features
- CHANGED IMiddlewareTest class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace to inherit from IGenericHostTest
Version: 6.0.0
Availability: .NET Core 3.1, .NET 5.0
# New Features
- ADDED FakeHttpResponseFeature class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore.Http.Features namespace that represents a way to trigger IHttpResponseFeature.OnStarting
- ADDED FakeHttpContextAccessor class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore.Http namespace that provides a unit test implementation of IHttpContextAccessor
- ADDED AspNetCoreHostFixture class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that provides a default implementation of the IAspNetCoreHostFixture interface
- ADDED AspNetCoreHostTest{T} class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that represents a base class from which all implementations of unit testing, that uses Microsoft Dependency Injection and depends on ASP.NET Core, should derive
- ADDED IAspNetCoreHostFixture interface in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that provides a way to use Microsoft Dependency Injection in unit tests tailored for ASP.NET Core
- ADDED IMiddlewareTest interface in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that represents the members needed for ASP.NET Core middleware testing
- ADDED IPipelineTest interface in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that represents the members needed for ASP.NET Core pipeline testing
- ADDED MiddlewareTestFactory class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that provides a set of static methods for ASP.NET Core middleware unit testing
- ADDED ServiceCollectionExtensions class in the Cuemon.Extensions.Xunit.Hosting.AspNetCore namespace that consist of extension methods for the IServiceCollection interface: AddFakeHttpContextAccessor