- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

Converting an xUnit test project to TUnit
In this post I discuss the new TUnit testing framework, why I ported one of my libraries to use it instead of xUnit and related issues I had to deal with…
![Banner image for Simplifying [Theory] test data with Xunit.Combinatorial](/content/images/2024/xunit_combinatorial_banner.png)
Simplifying [Theory] test data with Xunit.Combinatorial
In this post I show how you can simplify your xUnit [Theory] tests using the Xunit.Combinatorial package to auto-generate your test parameters…

Integration testing and NuGet packaging
Creating a source generator - Part 3
In this post I describe how to integration-test your source generator, how to pack it in a NuGet package, and how to test your NuGet package!…

Testing an incremental generator with snapshot testing
Creating a source generator - Part 2
In this post I describe how to unit test an incremental generator using Verify for snapshot testing…

Supporting integration tests with WebApplicationFactory in .NET 6
Exploring .NET 6 - Part 6
In this post I look at the changes that were made to WebApplicationFactory<T> to support minimal hosting APIs with WebApplicationBuilder in .NET 6…

Using SSH and localhost.run to test GitHub webhooks locally
In this post I describe how to test GitHub webhooks locally using SSH and localhost.run, a free service for HTTP tunnelling.…

