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

Hash Fields by Name #159

Closed nscheibe closed 1 year ago

nscheibe commented 1 year ago

Extended the hash match option, that the fields can be hashed by adding only the field name. Example: Snapshot.Match(testImage, options => options.HashField("**.Data")) --> all fields with name "Data" will be hashed.

In Addition, a refactoring of the match operators has been done.

nscheibe commented 1 year ago

/azp run

azure-pipelines[bot] commented 1 year ago
Azure Pipelines successfully started running 1 pipeline(s).
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 92 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication