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

When using fluent assertions, e.g. `person.Should().MatchSnapshot()` or the static snapshot class, e.g. `Snapshot.Match(person)` a generic overload now ensures that we can use lambda expressions to accept and ignore fields. Examples:...

Summary of the changes (Less than 80 chars) - Null checking when generating snapshot name from params (#178) - Using the `DisplayName` of a `TestDataMethod` if provided in MSTest -...

Would it be possible to include the name of the snapshot that is missing in the below exception? It is very difficult to debug which snapshot is missing, particularly when...

**Is your feature request related to a problem? Please describe.** Snapshot testing the results of code is quite useful and is the purpose of Snapshooter but I'm interested to propose...

Documentation for this library leaves much to be desired. There are currently entirely blank pages ([Snapshot Match Options](https://swisslife-oss.github.io/snapshooter/docs/snapshot-options) and [Snapshots of Scalar Types](https://swisslife-oss.github.io/snapshooter/docs/scalar-type-snapshot)). The documentation should be either retired in...

**Is your feature request related to a problem? Please describe.** the files generated are too long and can't go to git **Describe the solution you'd like** I would like to...

Summary of the changes (Less than 80 chars) Generate a diff between the expected/actual snapshot and displaying that on failure. Addresses #136

**Describe the bug** When running the tests in visual studio on a remote test environment, in this case WSL2. The directory for the snapshot is resolving to the windows path...

In our tests, we are doing validation of large XML objects. If I try to perform an assert against a particular field in that XML that is an integer but...

**Describe the bug** This is related to #178, as I was trying to work around the problem there by providing a custom name for the snapshot, but I found that...