XBullet.EasyTesting.Messaging
1.0.18
See the version list below for details.
dotnet add package XBullet.EasyTesting.Messaging --version 1.0.18
NuGet\Install-Package XBullet.EasyTesting.Messaging -Version 1.0.18
<PackageReference Include="XBullet.EasyTesting.Messaging" Version="1.0.18" />
<PackageVersion Include="XBullet.EasyTesting.Messaging" Version="1.0.18" />
<PackageReference Include="XBullet.EasyTesting.Messaging" />
paket add XBullet.EasyTesting.Messaging --version 1.0.18
#r "nuget: XBullet.EasyTesting.Messaging, 1.0.18"
#:package XBullet.EasyTesting.Messaging@1.0.18
#addin nuget:?package=XBullet.EasyTesting.Messaging&version=1.0.18
#tool nuget:?package=XBullet.EasyTesting.Messaging&version=1.0.18
XBullet.EasyTesting.Messaging
Transport-neutral recording of messages published by an application under test.
The package targets .NET 8, .NET 9, and .NET 10.
Install
dotnet add package XBullet.EasyTesting.Messaging
Example
Adapt your application's publisher interface to a RecordedMessageBus, then assert the captured
transport, destination, headers, and typed payload:
await messages.RecordAsync(
MessageTransportNames.Kafka,
"orders.created",
new OrderCreated(42),
headers,
cancellationToken);
messages.Should()
.ContainSingle(MessageTransportNames.Kafka, "orders.created")
.HaveHeader("partition-key", "customer-7")
.HavePayload(new OrderCreated(42));
Well-known transport names are included for Kafka, Azure Service Bus, and Azure Notification Hubs, while custom transports remain supported.
Collection assertions support route counts with HaveCount(transport, destination, expected),
message predicates through Contain and ContainSingle, and absence checks through NotContain.
Use HaveSequence for exact ordered collections, globally or for one route, and
HavePayloadMatching<T> for partial typed payload checks using the recorder's serializer options.
Each assertion uses one stable snapshot; predicate exceptions propagate unchanged. Wait for known
background-work completion before asserting absence. Collection failure diagnostics include
unredacted payloads; use synthetic test data.
Documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. 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 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. |
-
net10.0
- XBullet.EasyTesting (>= 1.0.18)
-
net8.0
- XBullet.EasyTesting (>= 1.0.18)
-
net9.0
- XBullet.EasyTesting (>= 1.0.18)
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 |
|---|---|---|
| 1.0.19 | 0 | 10/5/2026 |
| 1.0.18 | 38 | 10/4/2026 |
| 1.0.17 | 44 | 10/1/2026 |
| 1.0.16 | 48 | 9/30/2026 |
| 1.0.15 | 49 | 9/29/2026 |
| 1.0.14 | 86 | 9/27/2026 |
| 1.0.13 | 88 | 9/26/2026 |
| 1.0.12 | 89 | 9/25/2026 |
| 1.0.11 | 87 | 9/24/2026 |
| 1.0.9 | 81 | 9/24/2026 |
| 1.0.8 | 100 | 9/21/2026 |
| 1.0.7 | 87 | 9/19/2026 |
| 1.0.6 | 91 | 9/18/2026 |
| 1.0.5 | 86 | 9/18/2026 |
| 1.0.4 | 92 | 9/15/2026 |
| 1.0.3 | 92 | 9/15/2026 |
| 0.2.0 | 89 | 9/15/2026 |
| 0.1.0 | 94 | 9/14/2026 |