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
-
131. ShellGPT: Your AI Assistant in the Terminal
Christian and Bram explore ShellGPT, configuration, command generation, file summaries, data transformation, web deployment with Docker, and iterative REPL scripting.
Content typeVideo
-
130. How SBOMs Expose Vulnerabilities in Your Software Supply Chain
SBOMs provide insight into software components, help identify vulnerabilities, increase transparency, and improve risk management for developers, DevOps engineers, and security professionals.
Content typeVideo
-
129. Pattern Matching in C-sharp: Getting Started
In this Betatalks episode, Christian and Yvo show how C# pattern matching simplifies if/else logic, making business rules clearer, safer, and more concise.
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.