Writing
All posts
Practical C#, .NET, and ASP.NET Core tutorials.
7 posts in Testing

Respawn for Integration Tests in ASP.NET Core
Shared database state makes integration tests flaky. Respawn resets tables between tests so WebApplicationFactory and Testcontainers stay fast, isolated and reliable.

Integration Tests in ASP.NET Core
Unit tests miss the full request pipeline. Integration tests with WebApplicationFactory, Testcontainers and Respawn verify your ASP.NET Core API against a real PostgreSQL database.

Parameterized Tests with xUnit in .NET
Parameterized tests are a powerful way to reduce repetition and improve clarity in your unit tests.

Unit Testing using xUnit
Unit testing is essential for maintaining code stability, preventing regressions and ensuring confidence in changes.

Architecture Tests in .NET
Introducing architectural tests is an effective way to enforce rules and prevent violations, reducing the risk of technical debt.

Bogus - Generate Realistic Fake Data in C#
Bogus is a powerful library for generating fake data. It covers everything from data generation, seed determinism, localization and integration with EF Core.

TUnit - The Future of Testing in .NET
TUnit is a modern, flexible, and fast testing framework for .NET 8 and beyond. It promises more control over setup, execution and style of tests.
The next issue lands Thursday.
Join 4,000+ .NET engineers. Free, focused, and easy to leave.