Skip to content

fluentassertions/fluentassertions.reactive

Repository files navigation

FluentAssertions.Reactive

Nuget Nuget

Extensions for the Fluent Assertions for testing the behaviour of observables.

Example Usage

var observable = Observable.Empty<Unit>();

// observe the sequence
using var observedSequence = observable.Observe();

// assert the behaviour of the sequence
observedSequence.Should().Complete();

More examples can be found in the unit tests