Skip to content

Commit 0c1af0a

Browse files
committed
update readme
1 parent 2b74e11 commit 0c1af0a

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

FluentAssertions.Reactive.sln

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ EndProject
1717
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0593589C-673C-47EB-8B56-E6B83DA2580E}"
1818
ProjectSection(SolutionItems) = preProject
1919
.editorconfig = .editorconfig
20+
.gitattributes = .gitattributes
21+
.gitignore = .gitignore
22+
GitVersion.yml = GitVersion.yml
23+
global.json = global.json
24+
README.md = README.md
2025
EndProjectSection
2126
EndProject
2227
Global

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
11
# FluentAssertions.Reactive
22

3-
FluentAssertions for Observables
3+
[![Nuget](https://img.shields.io/nuget/dt/FluentAssertions.Reactive)](https://www.nuget.org/packages/FluentAssertions.Reactive/)
4+
[![Nuget](https://img.shields.io/nuget/vpre/FluentAssertions.Reactive)](https://www.nuget.org/packages/FluentAssertions.Reactive)
5+
6+
Extensions for the [Fluent Assertions](https://www.fluentassertions.com) for testing the behaviour of observables.
7+
8+
## Example Usage
9+
10+
```csharp
11+
var observable = Observable.Empty<Unit>();
12+
13+
// observe the sequence
14+
using var observer = observable.Observe();
15+
16+
// assert the behaviour of the sequence
17+
observer.Should().Complete();
18+
19+
```
20+
21+
More examples can be found in the [unit tests](https://github.com/fluentassertions/fluentassertions.reactive/blob/master/Tests/FluentAssertions.Reactive.Specs/ReactiveAssertionSpecs.cs)
22+
23+

0 commit comments

Comments
 (0)