---
title: "#xunit articles | Hashnode"
description: "Explore 19 articles tagged #xunit on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/xunit"
---

Tag

# #xunit

19 posts · 1 followers

[Patrick Kearns](https://hashnode.com/@fullstackcity) · [Nov 3](https://hashnode.com/posts/why-i-choose-archguard-net-for-a-modular-monolith-with-vertical-slices/6aea3d8cf356d2870ce04bff)

### [Why I Choose ArchGuard.NET for a Modular Monolith with Vertical Slices](https://dotnetdigest.com/why-i-choose-archguard-net-for-a-modular-monolith-with-vertical-slices?utm_source=hashnode&utm_medium=feed)

A small API, built-in rules for modular monoliths and vertical slices, and a baseline feature that lets you record existing violations.

12 min read · [dotnetdigest.com](https://dotnetdigest.com/why-i-choose-archguard-net-for-a-modular-monolith-with-vertical-slices?utm_source=hashnode&utm_medium=feed)

[Coding Droplets](https://hashnode.com/@codingdroplets) · [Jul 14](https://hashnode.com/posts/unit-testing-aspnet-core-controllers/6a5624caf2ad5a2b4f04a1e8)

### [7 Common Mistakes Unit Testing ASP.NET Core Controllers (And How to Fix Them)](https://codingdroplets.hashnode.dev/unit-testing-aspnet-core-controllers?utm_source=hashnode&utm_medium=feed)

Seven common ASP.NET Core controller unit testing mistakes with xUnit and Moq, plus the exact fixes for asserting IActionResult results.

10 min read · [codingdroplets.hashnode.dev](https://codingdroplets.hashnode.dev/unit-testing-aspnet-core-controllers?utm_source=hashnode&utm_medium=feed)

[Naveed Ausaf](https://hashnode.com/@nausaf) · [Jun 1](https://hashnode.com/posts/how-to-get-xunit-v3-to-work-with-test-explorer-in-vs-code/6a1db858cc268013976e91cc)

### [How to get XUnit v3 to work with Test Explorer in VS Code](https://www.naveedausaf.com/how-to-get-xunit-v3-to-work-with-test-explorer-in-vs-code?utm_source=hashnode&utm_medium=feed)

I recently upgraded some xUnit v2 test projects to v3 because I needed two awesome features that v3 introduced: Assembly Fixtures: These allow a fixture instance to be shared between all tests in mul

3 min read · [naveedausaf.com](https://www.naveedausaf.com/how-to-get-xunit-v3-to-work-with-test-explorer-in-vs-code?utm_source=hashnode&utm_medium=feed)

[Coding Droplets](https://hashnode.com/@codingdroplets) · [May 18](https://hashnode.com/posts/aspnet-core-testing-interview-questions-senior-dotnet-2026/6a0b152258d9a742ccd7cbee)

### [ASP.NET Core Testing Interview Questions for Senior .NET Developers (2026)](https://codingdroplets.hashnode.dev/aspnet-core-testing-interview-questions-senior-dotnet-2026?utm_source=hashnode&utm_medium=feed)

Master ASP.NET Core testing interviews in 2026. Covers unit testing, WebApplicationFactory, Testcontainers, Moq, xUnit, and mutation testing for senior .NET developers.

12 min read · [codingdroplets.hashnode.dev](https://codingdroplets.hashnode.dev/aspnet-core-testing-interview-questions-senior-dotnet-2026?utm_source=hashnode&utm_medium=feed)

[Morteza Jangjoo](https://hashnode.com/@Jangjoo) · [Oct 21, 2025](https://hashnode.com/posts/a-complete-guide-to-writing-unit-tests-in-net-core-with-xunit-moq/68f6f355a5a69aadea4560b2)

### [A Complete Guide to Writing Unit Tests in .NET Core (with xUnit + Moq)](https://jangjoo.hashnode.dev/a-complete-guide-to-writing-unit-tests-in-net-core-with-xunit-moq?utm_source=hashnode&utm_medium=feed)

A Complete Guide to Writing Unit Tests in .NET Core (with xUnit + Moq)

3 min read · [jangjoo.hashnode.dev](https://jangjoo.hashnode.dev/a-complete-guide-to-writing-unit-tests-in-net-core-with-xunit-moq?utm_source=hashnode&utm_medium=feed)

[Iván Peinado](https://hashnode.com/@ipeinado) · [Jul 8, 2025](https://hashnode.com/posts/como-escribir-tests-unitarios-en-net-core-con-xunit/686d2aba39fd071f07563c42)

### [Cómo escribir tests unitarios en .NET Core con xUnit](https://ipeinadodev.hashnode.dev/como-escribir-tests-unitarios-en-net-core-con-xunit?utm_source=hashnode&utm_medium=feed)

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...

5 min read · [ipeinadodev.hashnode.dev](https://ipeinadodev.hashnode.dev/como-escribir-tests-unitarios-en-net-core-con-xunit?utm_source=hashnode&utm_medium=feed)

[Patrick Kearns](https://hashnode.com/@fullstackcity) · [Mar 22, 2025](https://hashnode.com/posts/using-extensions-in-xunit-3/67deade5a7369f486c9589c5)

### [Using Extensions in xUnit 3](https://fullstackcity.com/using-extensions-in-xunit-3?utm_source=hashnode&utm_medium=feed)

With the arrival of xUnit 3, we have gained new opportunities to streamline and enhance our testing workflows by leveraging custom extensions.

3 min read · [fullstackcity.com](https://fullstackcity.com/using-extensions-in-xunit-3?utm_source=hashnode&utm_medium=feed)

[behrooz bozorgchamy](https://hashnode.com/@behroozbc) · [Jan 3, 2025](https://hashnode.com/posts/understanding-xunit-how-class-fixtures-work/67778b1a14ae8fcbfd66b6d0)

### [Understanding xUnit: How Class Fixtures Work](https://blog.behroozbc.ir/understanding-xunit-how-class-fixtures-work?utm_source=hashnode&utm_medium=feed)

xUnit is a popular unit testing framework for .NET applications, known for its simplicity and flexibility, especially in how it manages test fixtures. In this blog, we'll dive into the concept of Class Fixtures and how they interact with test classes...

3 min read · [blog.behroozbc.ir](https://blog.behroozbc.ir/understanding-xunit-how-class-fixtures-work?utm_source=hashnode&utm_medium=feed)

[Opaluwa Emidowojo](https://hashnode.com/@Tech-On-Diapers) · [Jul 1, 2024](https://hashnode.com/posts/a-beginners-guide-to-unit-testing-in-c-using-xunit/6682647465b1ccf4308c7617)

### [A Beginner's Guide to Unit Testing in C# Using xUnit](https://tech-on-diapers.hashnode.dev/a-beginners-guide-to-unit-testing-in-c-using-xunit?utm_source=hashnode&utm_medium=feed)

Getting Started with Unit Testing in C# Using xUnit: The Basics

13 min read · [tech-on-diapers.hashnode.dev](https://tech-on-diapers.hashnode.dev/a-beginners-guide-to-unit-testing-in-c-using-xunit?utm_source=hashnode&utm_medium=feed)

[Joshua Steward](https://hashnode.com/@jsteward) · [Apr 16, 2024](https://hashnode.com/posts/azure-service-bus-integration-testing-with-xunit-and-admin-client/661ef18771febcef6fcaf2a1)

### [Azure Service Bus: Integration Testing with xUnit and Admin Client](https://concurrentflows.com/azure-service-bus-integration-testing-with-xunit-and-admin-client?utm_source=hashnode&utm_medium=feed)

Part 3: How to integration test Azure Service Bus using ServiceBusAdministrationClient and xUnit

7 min read · [concurrentflows.com](https://concurrentflows.com/azure-service-bus-integration-testing-with-xunit-and-admin-client?utm_source=hashnode&utm_medium=feed)
