© 2026 Hashnode
Unit testing is one of the most important parts of modern software development.In this article, you’ll learn how to write unit tests in .NET Core using xUnit, Moq, and FluentAssertions, step-by-step — with a real example from a blog app. 1. Creating...

Los tests unitarios son fundamentales para mantener la calidad del código en cualquier proyecto de software. En el ecosistema .NET Core, xUnit se ha convertido en una de las herramientas más populares y potentes para implementar pruebas unitarias. En...

Welcome to the third article in the "Mastering C#" series. In this article, we will explore unit testing in C# using xUnit, a popular and flexible framework for .NET that simplifies writing and running tests. xUnit supports modern features like param...

Service Bus Series - Part 3 The previous post, Part 2: Authentication and Sending to a Queue, covered authenticating to and writing to a Service Bus Queue. To do this we used the QueueSender background service. While this worked, it begs the question...

This is the fourth post in our Unit Testing in .NET Core series! In the previous post, we looked at parameterized unit testing. In this blog post, we will explore how to enhance your assertion capabilities in .NET Core unit testing, using the xUnit t...
