Series: Testing Techniques

8 posts in this series

Series: Testing Techniques

Practical techniques for better tests in .NET: test doubles, test data with Bogus and AutoFixture, test object patterns, database integration testing, Testcontainers, and more.

  1. Testing Techniques
    October 27, 2023

    When building objects in tests, there are 3 design patterns that assist with building test objects - Factory pattern, Object Mother, and Builder pattern.

  2. Testing Techniques
    December 01, 2023

    A walkthrough of how to use AutoFixture to generate test data and how it can help you write better tests.

  3. Testing Techniques
    December 12, 2023

    Using the Bogus library to create realistic test data for domain-driven applications.

  4. Testing Techniques
    February 14, 2024

    Bogus and the Builder pattern join forces to simplify test data generation and improve the quality of your test suite.

  5. Testing Techniques
    September 03, 2024

    Dive deep into .NET integration testing with databases. Explore EF Core providers, migrations, seeding, and strategies for reliable test suites.

  6. Testing Techniques
    December 19, 2025

    In this post, Sadukie breaks down some concepts seen in testing that can get muddled - test doubles, fakes, stubs, mocks, and spies.

  7. Testing Techniques
    April 16, 2026

    Learn how you can extend your testing plane by using property-based testing, contract testing, and test doubles.

  8. Testing Techniques
    June 04, 2026

    Testcontainers spins up real database containers for your .NET integration tests — the same database version on every machine and every CI run, with no manual …