Categories
Tags
asp.net azure azuredevops benchmarkdotnet c# cicd codecoverage copilot devops dotnet entityframework f# fluentvalidation flux git github gitops go hugo identityserver infosec javascript js linqpad markdown nerdfont oh-my-posh powershell PowerShell pwsh sonarlint starship terminal Testing verify visualstudio winget
50 words
1 minutes
Snapshot testing with Verify
References:
I have used this in the past and it’s pretty cool as you can compare complex data models, like JSON objects (it does serializing for you) during assert and you can ignore fields that doesn’t matter. I think it even ignores fields that typically changes (like guid’s) by default…
Snapshot testing with Verify
https://cognitiveoverload.blog/posts/dotnet/snapshot-testing-with-verify/