SwissLife-OSS / snapshooter

Snapshooter is a snapshot testing tool for .NET Core and .NET Framework
https://swisslife-oss.github.io/snapshooter/
MIT License
302 stars 29 forks source link

[REQUEST]: Output snapshot name when using strict mode and the snapshot does not exist #187

Open nwilliams1-bigw opened 11 months ago

nwilliams1-bigw commented 11 months ago

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 providing your own snapshot name or using SnapshotNameExtensions.

https://github.com/SwissLife-OSS/snapshooter/blob/904a2525e246d5878c3ec0104cbfc1461e1e17dd/src/Snapshooter/Core/Validators/EnvironmentValidator.cs#L17-L21