87. Introduction to Snapshot testing and using Verify.Xunit
Content type
Video
87. Introduction to Snapshot testing and using Verify.Xunit
Michiel and Oscar discuss snapshot testing, which is a type of data comparison test. Snapshot testing saves the output of a test and compares it to the output on subsequent runs to detect any changes. Michiel demonstrates how to write snapshot tests using Verify.Xunit library in C#. They show how snapshot testing can detect unintended changes or bugs introduced when code is modified. Their demo uses a simple employee mapper to map personal data to employee data. Bugs are intentionally introduced to demonstrate how snapshot testing fails when the output changes unexpectedly.
Links for more information:
More videos
-
128. How to Benchmark your .NET code
In this Betatalks episode, Christian and Jelle show how BenchmarkDotNet measures .NET performance, comparing string concatenation with StringBuilder to spot regressions.Content typeVideo
-
127. AI and RAG Scenarios Using Just SQL Server 2025
Christian and Jelle explore SQL Server 2025 AI features, showing embeddings, vector search, and semantic queries to build RAG style solutions directly in SQL.
Content typeVideo
-
126. Impact of the NIS2 Directive on Software Developers
Jelle and Christian discuss how NIS2 imposes stricter security requirements on software teams and why early preparation for 2026 is essential.Content typeVideo
Stay up to date with our Betatalks and tech updates!
Sign up and receive a biweekly update with the latest knowledge and developments.