FluentAssertions.Web.v8
3.0.2
dotnet add package FluentAssertions.Web.v8 --version 3.0.2
NuGet\Install-Package FluentAssertions.Web.v8 -Version 3.0.2
<PackageReference Include="FluentAssertions.Web.v8" Version="3.0.2" />
<PackageVersion Include="FluentAssertions.Web.v8" Version="3.0.2" />
<PackageReference Include="FluentAssertions.Web.v8" />
paket add FluentAssertions.Web.v8 --version 3.0.2
#r "nuget: FluentAssertions.Web.v8, 3.0.2"
#:package FluentAssertions.Web.v8@3.0.2
#addin nuget:?package=FluentAssertions.Web.v8&version=3.0.2
#tool nuget:?package=FluentAssertions.Web.v8&version=3.0.2
FluentAssertions.Web.v8
A FluentAssertions extension over the HttpResponseMessage object. It provides assertions specific to HTTP responses and outputs rich error messages that include the HTTP Request and Response, so test failures show the whole conversation and less time with debugging is spent.
This package targets the commercial versions of FluentAssertions (>= 8.0.0). If you are using FluentAssertions < 8.0.0, use FluentAssertions.Web.
Install
dotnet add package FluentAssertions.Web.v8
Example
The assertions are identical to the FOSS flavour:
[Fact]
public async Task Post_ReturnsOk()
{
// Arrange
var client = _factory.CreateClient();
// Act
var response = await client.PostAsync("/api/comments", new StringContent(
"""
{
"author": "John",
"content": "Hey, you..."
}
""", Encoding.UTF8, "application/json"));
// Assert
response.Should().Be200Ok();
}
When the assertion fails, the test output contains the expected and actual status codes followed by the complete HTTP response and the originating HTTP request.
Documentation
The shared Assertions.Web documentation describes the assertions at a glance, the failure output, the configuration and links to the full API and the worked examples in the repository readme.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FluentAssertions (>= 8.0.0)
- HttpMessageFormatter (>= 2.0.8)
- Microsoft.AspNetCore.WebUtilities (>= 2.3.14)
- System.Net.Http.Json (>= 8.0.1)
- System.Text.Encodings.Web (>= 8.0.0)
- System.Text.Json (>= 8.0.6)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FluentAssertions.Web.v8:
| Package | Downloads |
|---|---|
|
mu88.Shared.Testing
This is a little helper NuGet package providing reusable test infrastructure shared across mu88's .NET apps: - Resolve pinned Testcontainers image references from a Renovate-trackable Dockerfile - Start and connect to a Testcontainers-based Playwright browser instance - Build an app's Docker image via Microsoft.NET.Build.Containers for use in system tests - Assert that a running app/container is healthy and free of warnings in its logs |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.2 | 0 | 11/14/2026 |
| 3.0.1 | 62 | 11/12/2026 |
| 3.0.0 | 2,515 | 10/9/2026 |
| 2.0.5 | 387 | 10/7/2026 |
| 2.0.4 | 393 | 10/2/2026 |
| 2.0.3 | 23,037 | 7/30/2026 |
| 2.0.2 | 193 | 7/28/2026 |
| 2.0.1 | 163 | 7/28/2026 |
| 2.0.0 | 318 | 7/23/2026 |
| 1.9.9 | 891 | 7/23/2026 |
| 1.9.5 | 110,153 | 5/3/2025 |
| 1.8.0 | 31,951 | 1/20/2025 |
| 0.0.0-ci-286 | 94 | 10/2/2026 |
| 0.0.0-ci-285 | 101 | 10/2/2026 |
| 0.0.0-ci-252 | 123 | 7/23/2026 |