testing
C# and .NET Unit Testing Articles, Tutorials & News
C# and .NET Unit Testing articles, tutorials, and news from the DotNetNews archive.
143 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
-
Learning Playwright with C#: My Journey Implementing a DI-Driven Test Framework
medium.com Issue #481
Following Karthik KK’s Playwright course, I rebuilt a DI-driven automation framework and documented the lessons I learned along the way.
-
GitHub Copilot Agent for Unit Tests: My Real-World Spargine Experiment
dotnettips.com Issue #473
After experimenting with the GitHub Copilot Agent during the 2026 Microsoft MVP Summit, the author faced numerous challenges, including code deletion, slow performance, and inconsistent adherence to c...
-
ASP.NET Core 10 Web API CRUD with EF Core - Complete .NET 10 Tutorial
codewithmukesh.com Issue #473
Build a production-ready .NET 10 Web API with EF Core 10 and PostgreSQL. CRUD operations, DDD, Minimal APIs, Scalar, code-first migrations, and best practices.
-
How to Implement Unit Testing in .NET using xUnit with Example
c-sharpcorner.com Issue #439
Master .NET unit testing with xUnit! Learn to write effective tests, catch bugs early, and improve code quality. Includes practical examples and best practices.
-
Testing Needs a Seam, Not an Interface
codeopinion.com Issue #437
In my last video, I said that clean architecture was killing your velocity. And man, you guys had thoughts. The number one pushback, the hill a lot of people were willing to die on, was testing. And I...
-
Building an Open Source Assertion Library for .NET
medium.com Issue #435
Fluent Assertions did a great deal for .NET testing. For a long time, it made test code feel far more natural than it had before…
-
On .NET Live - Imposter: A Mocking Library
youtube.com Issue #427
️ Featuring: Bitchiko Tchelidze (https://github.com/themidnightgospel/Imposter), Maira Wenzel, Cam Soper, Katie Savage https://github.com/themidnightgospel/Imposter
-
From QA Hand-Offs to Test-First .NET: The C# Developer’s Testing Fundamentals
medium.com Issue #427
If you’ve written C# for more than a few months, you’ve already met the QA wall.
-
The new Microsoft Testing Platform for .NET:
medium.com Issue #425
Testing in .NET has historically been associated with VSTest. That choice was reasonable for a long time because VSTest offered broad…
-
Speed Up .NET CI with Test Sharding
meziantou.net Issue #422
A shard is a deterministic subset of your test suite. Test sharding means splitting one long test run into multiple smaller runs, and executing them in parallel in CI. Instead of waiting for one job t...
-
SignalR scale out and C# performance
DotNetNews Issue #417
This issue covers Redis-backed SignalR scaling, C# performance tuning, ASP.NET Core middleware and DI lifetimes, plus CQRS, OOP, and readiness checks.
-
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.