snapshooter icon indicating copy to clipboard operation
snapshooter copied to clipboard

Snapshooter is a snapshot testing tool for .NET Core and .NET Framework

Results 60 snapshooter issues
Sort by recently updated
recently updated
newest added

Introduce HashMatchOperator

**Describe the bug** I'm trying to set the ignorefields with this syntax ```csharp result.MatchSnapshot(matchOptions=>matchOptions.IgnoreFields("$.[?(@.Result != null)].Result.Id")) ``` it failed on certain test cases This case passes ```json [ { "Error":...

bug

**Is your feature request related to a problem? Please describe.** If there are many snapshot files, it gets really tedious to look up the snapshot files and most of the...

**Describe the bug** I have two Snapshooter tests which's output are dictionaries. Locally everything works fine, the snapshot files are being generated the first time and then match from then...

I have a lot of snapshots in my test project and I would appreciate if these would be organized with folders per test class optionally. Or that you can set...

Usually the object.MatchSnapshot(...) or Snapshot.Match(...) throws an exception if the snapshot does not match. Now people asked for an option without exception, but with a boolean as return value. I...

enhancement

Hello guys! I like your lib and I've recorded a youtube video about it. (Video in Russian) [https://youtu.be/suMqw6TYKI4](https://youtu.be/suMqw6TYKI4)

Currently, snapshooter is using Newtonsoft.Json (also called Json.Net) serializer to compare JSON files. Microsoft introduced its own JSON Serializer in the System.Text namespace, which is now recommended for simple use...

enhancement

Add Builder for Snapshots

Hello, we currently have a bunch of tests comparing html files. We'd like to use snapshooter to compare those files since we're already using snapshooter on other projects (this way...