Vai offline con l'app Player FM !
.NET Snapshot testing with Verify, with Simon Cropp
Manage episode 347492196 series 1329529
Verify is a snapshot tool that simplifies the assertion of complex data models and documents with all popular .NET unit testing frameworks.
Verify is called on the test result during the assertion phase. It serializes that result and stores it in a file that matches the test name. On the next test execution, the result is again serialized and compared to the existing file. The test will fail if the two snapshots do not match: either the change is unexpected, or the reference snapshot needs to be updated to the new result.
Learn how Verify works from its creator, what kinds of problems it is best suited for, how to customise it for different scenarios, and of the many extensions that add Verify support for numerous 3rd party libraries.
Links:
68 episodi
Manage episode 347492196 series 1329529
Verify is a snapshot tool that simplifies the assertion of complex data models and documents with all popular .NET unit testing frameworks.
Verify is called on the test result during the assertion phase. It serializes that result and stores it in a file that matches the test name. On the next test execution, the result is again serialized and compared to the existing file. The test will fail if the two snapshots do not match: either the change is unexpected, or the reference snapshot needs to be updated to the new result.
Learn how Verify works from its creator, what kinds of problems it is best suited for, how to customise it for different scenarios, and of the many extensions that add Verify support for numerous 3rd party libraries.
Links:
68 episodi
Tutti gli episodi
×
1 Testing with SpecFlow, with Stephen Nield and Rich Moran 1:08:23

1 10 tips and tricks for GitHub Actions and Azure DevOps, with David Gardiner 1:20:38

1 The different ways you can join your code together, with Calvin Fong 1:05:41

1 Extending Microsoft Copilot with .NET, with Daniel Brown 1:14:54

1 OpenTelemetry: Adding observability to any Microservices environment, with Glenn Versweyveld 1:03:03

1 Building a Microsoft Teams app to replace email, with Ben Smit and Matthew Astachnowicz 1:04:27

1 Boosting Developer Experience, with Sam Fernando 1:15:02

1 .NET 8 Lightning talks 1:31:42

1 Down the Oregon Trail with Functional C#, with Simon J. Painter 1:24:52

1 Revolutionizing Online Retail with Blazor, with James Chapman-Smith and Donald Urquhart 1:40:40

1 Managing granular authorisation in .NET, with Ryan Rowston 1:04:36

1 ChatGPT Client with Blazor, GraphQL, .NET and Azure OpenAI Service, with John Merchant 1:19:52

1 From Code to Production - Building .NET Natively on AWS, with Derek Bingham 1:13:56
Benvenuto su Player FM!
Player FM ricerca sul web podcast di alta qualità che tu possa goderti adesso. È la migliore app di podcast e funziona su Android, iPhone e web. Registrati per sincronizzare le iscrizioni su tutti i tuoi dispositivi.