C# Tip: How to create Unit Tests for Model Validation
As you know, you should always validate input models. Therefore, you should create Unit Tests to test the data validation. Let’s learn! Continue readingC# Tip: Improve memory allocation by initializing collection size
Sometimes just a minor change can affect performance. Here’s a simple trick: initialize your collections by specifying the initial size! Continue readingAdvanced Integration Tests for .NET 7 API with WebApplicationFactory and NUnit
Integration Tests are incredibly useful: a few Integration Tests are often more useful than lots of Unit Tests. Let’s learn some advanced capabilities ofWebApplicationFactory.
Continue reading