Skip to content

Commit

Permalink
Updated docs for 2.2.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
theramis committed Feb 1, 2020
1 parent 125a593 commit d2cb62e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ nav_order: 99
# Changelog
All notable changes to the Snapper project.

## [2.2.2] - 2020-02-01
### Bug Fix
- [Issue #50](https://github.com/theramis/Snapper/issues/50) [PR #51](https://github.com/theramis/Snapper/pull/51) Fixed parsing of metadata properties so that they are treated as string by NewtonSoft. Thanks to [@ViceIce](https://github.com/ViceIce) for surfacing the issue.
- Detection of an CI environment now checks for environment variables at the `Machine`, `Process` and `User` level. Previously it only checked at the `Process` level.

## [2.2.1] - 2020-01-14
### Bug Fix
- [Issue #44](https://github.com/theramis/Snapper/issues/44) [PR #45](https://github.com/theramis/Snapper/pull/45) Fixed parsing of datetime strings so that they are treated as string by NewtonSoft. Thanks to [@plitwinski](https://github.com/plitwinski) for surfacing the issue.
Expand Down Expand Up @@ -119,6 +124,7 @@ The first stable release!
- **Snapper.Json**: Extends Snapper.Core to provide storing snapshots in Json format
- **Snapper.Json.Xunit**: Extends Snapper.Json and integrates with the XUnit testing framework.

[2.2.2]: https://github.com/theramis/Snapper/compare/2.2.1...2.2.2
[2.2.1]: https://github.com/theramis/Snapper/compare/2.2.0...2.2.1
[2.2.0]: https://github.com/theramis/Snapper/compare/2.1.0...2.2.0
[2.1.0]: https://github.com/theramis/Snapper/compare/2.0.1...2.1.0
Expand Down
5 changes: 3 additions & 2 deletions docs/snapper-nunit/snapper-nunit.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ nav_order: 4

# Basics

The `Snapper.Nunit` NuGet package extends the NUnit constraint to provide a deeper integration with the NUnit test framework.
The `Snapper.Nunit` NuGet package extends the Nunit constraint to provide a deeper integration with the NUnit test framework.

The following code snippet shows the constaints which have been added by Snapper.
```csharp
Expand All @@ -27,7 +27,8 @@ public class MyTestClass
Key = "value"
};
// Best to use with theory tests
Assert.That(obj, Is.EqualToSnapshot("NamedSnapshot"));
// See https://theramis.github.io/Snapper/snapper/basics.html#child-snapshots for more information about child snapshots
Assert.That(obj, Is.EqualToChildSnapshot("NamedSnapshot"));
}
}
```

0 comments on commit d2cb62e

Please sign in to comment.