Cuemon.Extensions.Xunit.Hosting.AspNetCore 7.0.0-alpha.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 6.0 .NET Core 3.1
This is a prerelease version of Cuemon.Extensions.Xunit.Hosting.AspNetCore.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Cuemon.Extensions.Xunit.Hosting.AspNetCore --version 7.0.0-alpha.1
NuGet\Install-Package Cuemon.Extensions.Xunit.Hosting.AspNetCore -Version 7.0.0-alpha.1
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="Cuemon.Extensions.Xunit.Hosting.AspNetCore" Version="7.0.0-alpha.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cuemon.Extensions.Xunit.Hosting.AspNetCore --version 7.0.0-alpha.1
#r "nuget: Cuemon.Extensions.Xunit.Hosting.AspNetCore, 7.0.0-alpha.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cuemon.Extensions.Xunit.Hosting.AspNetCore as a Cake Addin
#addin nuget:?package=Cuemon.Extensions.Xunit.Hosting.AspNetCore&version=7.0.0-alpha.1&prerelease

// Install Cuemon.Extensions.Xunit.Hosting.AspNetCore as a Cake Tool
#tool nuget:?package=Cuemon.Extensions.Xunit.Hosting.AspNetCore&version=7.0.0-alpha.1&prerelease

About

An open-source family of assemblies (MIT license) that targets and complements the Microsoft .NET platform (.NET 6, .NET Core 3.1, .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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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 ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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
7.0.0 339 11/9/2022
7.0.0-rc.2 40 11/3/2022
7.0.0-rc.1 44 10/26/2022
7.0.0-alpha.2 41 10/16/2022
7.0.0-alpha.1 42 9/23/2022
7.0.0-alpha 69 7/12/2022
6.4.1 570 5/8/2022
6.4.0 474 1/24/2022
6.4.0-rc 78 1/23/2022
6.3.0 1,355 11/28/2021
6.2.0 673 5/30/2021
6.1.0 401 5/16/2021
6.0.1 331 5/3/2021
6.0.1-rc 192 5/3/2021
6.0.0 332 4/18/2021
6.0.0-rc.23 126 4/18/2021
6.0.0-rc.21 98 4/12/2021
6.0.0-rc.20 114 4/1/2021
6.0.0-rc.18 202 3/22/2021
6.0.0-rc.17 108 3/14/2021
6.0.0-rc.16 134 3/7/2021
6.0.0-rc.15 127 3/4/2021
6.0.0-rc.14 139 3/4/2021
6.0.0-rc.12 153 3/3/2021
6.0.0-rc.6 125 2/28/2021
6.0.0-rc.2 136 2/28/2021

Version: 7.0.0
Availability: .NET Core 3.1, .NET 6.0, .NET 7.0
 
# ALM
- ADDED TFM for .NET 7
- 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