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

  • 134. Getting Started with Aspire for Local Development

    Colin and Yvo discuss how Aspire simplifies local development by orchestrating application environments, automatically connecting services, managing dependencies, and improving onboarding, debugging, and team collaboration.
    Content type
    Video
    134
  • 133. Graph Databases in SQL Server

    Christian and Bram show how SQL Server’s graph database capabilities simplify working with complex relationships, making connected data easier to model, query, and analyze.
    Content type
    Video
    133
  • 132. Antipatterns in test automation

    Bram and Christian discuss test automation pitfalls, urging discipline, less UI logic, backend testing of business rules, and improving stability with better data and environments.
    Content type
    Video
    132

Stay up to date with our Betatalks and tech updates!

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