testing
C# and .NET Unit Testing Articles, Tutorials & News
C# and .NET Unit Testing articles, tutorials, and news from the DotNetNews archive.
132 articles Updated Page 2 of 6
Browse additional C# and .NET Unit Testing articles from the DotNetNews archive.
C# and .NET Unit Testing articles
Page 2 of 6
Newest first
-
The End of Boilerplate: How Visual Studio 2026 is Automating the Testing Lifecycle
medium.com Issue #409
The latest February update for Visual Studio 2026 has introduced a feature that might finally kill the "testing debt" in most repositories…
-
Parallel code, Redis caching, and EF Core
DotNetNews Issue #407
A varied .NET roundup on performance, ASP.NET Core caching and CORS, EF Core polymorphism, async internals, serverless design, and security.
-
The End of Boilerplate: How Visual Studio 2026 is Automating the Testing Lifecycle
medium.com Issue #405
The latest February update for Visual Studio 2026 has introduced a feature that might finally kill the "testing debt" in most repositories…
-
ASP.NET Core monitoring and AI agent workflows
DotNetNews Issue #401
This issue covers ASP.NET Core health checks, AI agent workflow standards, API gateways, LINQ, migration guidance, and security tips.
-
Testing for Memory Allocations in Unity
medium.com Issue #394
How to create a test to know if some code allocates in Unity
-
GitHub Copilot Testing for .NET Brings AI-powered Unit Tests to Visual Studio 2026
devblogs.microsoft.com Issue #394
GitHub Copilot testing for .NET is now generally available in Visual Studio 18.3. This AI-powered testing experience helps you generate, build, fix, and run unit tests quickly and efficiently. With fl...
-
-
Force DbContext SaveChanges to throw exception during test
josef.codes Issue #382
Forcing exceptions from Entity Framework Core during integration tests using interceptors.
-
.NET 10 and C# 14 updates
DotNetNews Issue #381
Issue #381 covers .NET 10 and C# 14, Azure Redis caching in Web APIs, Marten query models, Aspire dashboards, and AI app patterns.
-
TDD in .NET: Practicing TDD in a Web API Project
medium.com Issue #360
Motivation: Why This Article?
-
Clean Architecture in .NET: Testing, Best Practices & Final Thoughts
medium.com Issue #360
Part 4 — Making It Production-Ready
-
TDD in .NET: Refactoring Safely
medium.com Issue #360
Why Developers Fear Refactoring (But Shouldn’t)
-
C# 14, AI and .NET pitfalls
DotNetNews Issue #359
A varied mix of C# 14 changes, AI app integration, Visual Studio tips, security, and real-world .NET troubleshooting for working developers.
-
MAUI, EF Core, and auth hardening
DotNetNews Issue #355
A varied .NET roundup with MAUI resources, EF Core migrations and bulk retrieval, authentication hardening, HttpClientFactory, and more.
-
7 FluentValidation Recipes for Clean ASP.NET Controllers
medium.com Issue #354
Move validation out of controllers with FluentValidation: complex rules, custom validators, and DI-powered async checks. Continue reading on .Net Code Chronicles »
-
Why Do You Need To Write Architecture Tests in .NET
antondevtips.com Issue #354
Explore how to write Architecture Tests with NetArchTest in .NET. Learn how Architecture Tests in .NET improve software quality, enforce and test design rules, prevent technical dept. Architecture Tes
-
ASP.NET Core pipeline, C# 14, and .NET 10 networking
DotNetNews Issue #349
A varied .NET roundup covering filters, middleware, dependency injection, testing, logging, LINQ performance, and new platform features.
-
Async, DI, and Blazor pitfalls
DotNetNews Issue #344
This issue covers async gotchas, DI guidance, Blazor Server memory leaks, EF Core queries, debugging tricks, and MAUI age verification.
-
TDD in .NET: Practicing with String Calculator
medium.com Issue #342
Practicing TDD with a simple String Calculator
-
No more public partial class Program in .NET 10
steven-giesel.com Issue #333
If you are using API Tests with the WebApplicationFactory you might did something like this to have a public Program class: public partial class Program; No more!
-
TUnit — Why I Spent 2 Years Building a New .NET Testing Framework
medium.com Issue #333
I started building TUnit around two years ago. For those who have followed the journey, you’ll be glad to see the recent release of…
-
New dotnet test Experience with Microsoft.Testing.Platform
youtube.com Issue #330
.NET Aspire 13 — Simplified orchestration for cloud-native apps: https://aka.ms/aspire13/announcement Learn how the new platform works with popular testing frameworks like MSTest, NUnit, and xUnit.
-
-
Understanding Recursion in C# – Find Sum of N Natural Numbers
c-sharpcorner.com Issue #324
Learn recursion in C# using ASP.NET WebForms! This tutorial explains how to calculate the sum of N natural numbers with a practical, step-by-step example.
-
Why Use the Unit of Work Pattern in .NET
malshikay.medium.com Issue #318
Build Consistent, Maintainable, and Testable ASP.NET Core Applications with the Unit of Work Pattern