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

  • 137. How annotations can help you with your AI driven workflow

    Bram and Christian show how Playwright tags and annotations, combined with graph databases and LLMs, make test landscapes smarter and more contextual.
    Content type
    Video
    137
  • 136. SOLID Principles for Test Automation

    Bram and Christian show how the SOLID principles help testers build more maintainable, scalable, and reliable test automation while improving collaboration with developers.
    Content type
    Video
    136
  • 135. Running local AI for Developers

    Christian and Bram explore how local AI models, powered by tools like LM Studio and Microsoft Foundry Local, improve performance, privacy, compliance, and development workflows.
    Content type
    Video
    135

Stay up to date with our Betatalks and tech updates!

Sign up and receive a biweekly update with the latest knowledge and developments.