Hi everyone,
We’ve just released NServiceBus.Testing 11.0.0. This release adds TimeProvider support to saga scenario tests and improves timeout handling.
Improvements/Features
- #897 Keep unhandled timeouts when
AdvanceTimeis canceled or a timeout handler fails - #898 Do not wrap synchronous saga handler exceptions in
TargetInvocationException - #900 Support
TimeProviderin saga scenario tests - #901 Handle timeouts requested during
AdvanceTimein the same call
Breaking changes
TestableSaga.AdvanceTime now handles chained timeouts that become due during the same call. Existing saga scenario tests can return more results per call, so assertions may need updating even when the saga is correct.
Handler, behavior, and message session tests are not affected.
When to upgrade
You should upgrade during your next maintenance window.
Before upgrading, read the NServiceBus.Testing 10 to 11 upgrade guide for the required test changes and package dependencies.
Where to get it
You can install NServiceBus.Testing 11.0.0 from NuGet.
Please read our release policy for more details.
With thanks,
The team in Particular