Test-Driven Development in C# Articles, Tutorials & News
Test-Driven Development in C# articles, tutorials, and news from the DotNetNews archive.
18 articles Updated
Start here
Editor picks for Test-Driven Development
-
How to Write Tests in C# in 5 Steps & TDD Explained
c-sharpcorner.com Issue #260
The TDD article is a straightforward walkthrough, and that red-green-refactor cadence still deserves the repetition.
-
TDD in .NET: Anti-Patterns & When NOT to Use TDD
medium.com Issue #364
A skeptical take on TDD that’s worth reading if you’ve ever felt test-first wasn’t the right tool for a task.
-
TDD in .NET: Practicing TDD in a Web API Project
medium.com Issue #360
A practical TDD walkthrough for Web APIs, plus a second piece on refactoring safely without breaking behavior.
-
How to Use Claude Code Effectively: A Step-by-Step Method to Avoid Getting Lost
goatreview.com Issue #258
The Claude Code workflow advice is timely for anyone using AI tools and trying to avoid context drift.
-
How to Test Vertical Slice Architecture
milanjovanovic.tech Issue #495
Useful look at testing in vertical slice systems, especially if layered-architecture habits keep leaking into feature-based codebases.
-
JetBrains .NET Days 2025 – Test Driven Development with Blazor
scottsauber.com Issue #306
Slides-only TDD talk, but still a useful Blazor testing reminder.
-
What are the origins of async/await in C#?
youtube.com Issue #163
Async/await’s backstory is worth revisiting because it explains a lot of today’s API design.
-
Building an ASP.NET Web API Controller
c-sharpcorner.com Issue #261
A concrete controller walkthrough with SQL and header validation . useful if you like seeing API plumbing end to end.
TDD C# from the DotNetNews archive, curated for .NET developers who already ship production code. This is a reading list pulled from daily issues, not a substitute for the official docs on Test-Driven Development in C#.
Use Start here for the editorial shortlist, then browse Latest or the full archive when you need more depth. Coverage leans toward TDD C#, test-driven development .NET, red green refactor C#. Recent pieces worth opening: “How to Test Vertical Slice Architecture” and “Uncle Bob’s Agent Pipeline: From Informal Specs to Mutation-Tested .NET Code”.
Every item links out to the original publisher and back to the DotNetNews issue where it ran.
Latest
Newest Test-Driven Development from the archive
-
How to Test Vertical Slice Architecturemilanjovanovic.tech Issue #495
-
TDD in .NET: Refactoring Safelymedium.com Issue #360
-
Writing Good Tests in TDDmedium.com Issue #349
Archive
Newest first
-
How to Test Vertical Slice Architecture
milanjovanovic.tech Issue #495
The most common question I get about vertical slice architecture isn't about structure. It's "where do my tests go?" The layered-architecture testing habits (mock the repository, test the service) don...
-
Uncle Bob’s Agent Pipeline: From Informal Specs to Mutation-Tested .NET Code
medium.com Issue #474
Uncle Bob described a multi-agent pipeline in which human interaction decreases at each stage — Specifier, Coder, Refactorer, Architect —…
-
-
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)
-
Writing Good Tests in TDD
medium.com Issue #349
Ever run a test suite where everything’s green… but you still don’t trust it?
-
TDD in .NET: Practicing with String Calculator
medium.com Issue #342
Practicing TDD with a simple String Calculator
-
JetBrains .NET Days 2025 – Test Driven Development with Blazor
scottsauber.com Issue #306
Note: Slides do not tell the whole story of the talk, so take the stand alone slides with a grain of salt. Things may be taken out of context.
-
Adding TDD to Legacy .NET Code Without Breaking Production
medium.com Issue #278
How to gradually introduce tests to existing Windows Forms, WPF, and WCF applications when “don’t break anything” is your #1 priority
-
Web API, EF Core, CQRS and .NET 9 benchmarking
DotNetNews Issue #261
This issue covers API design, security, EF Core tuning, concurrency, migration, and .NET 9 benchmarking for working developers.
-
How to Write Tests in C# in 5 Steps & TDD Explained
c-sharpcorner.com Issue #260
Test-Driven Development (TDD) is a software approach where tests are written before code. It ensures clean, maintainable code by following a red-green-refactor cycle and improves software quality thro...
-
How to Use Claude Code Effectively: A Step-by-Step Method to Avoid Getting Lost
goatreview.com Issue #258
Learn how to use Claude Code effectively without getting lost. Complete guide with proven prompts, TDD methodology, and step-by-step workflow for complex projects. Avoid AI context drift
-
Test-Driven Development in .NET 9: Build Robust APIs with Confidence
medium.com Issue #248
https://medium.com/@tonoy300/test-driven-development-in-net-9-build-robust-apis-with-confidence-9fe453d673d8
-
AI forms, APIs, and C# patterns
DotNetNews Issue #166
A varied .NET roundup covering MAUI data forms, ASP.NET Core APIs, C# language and design-pattern refreshers, AI tooling, testing, and SQL Server.
-
What are the origins of async/await in C#?
youtube.com Issue #163
https://www.youtube.com/watch?v=MtDdO9YXgq0
-
Performance, async, and DI in .NET 8
DotNetNews Issue #64
A mixed .NET roundup on high-performance APIs, async ASP.NET Core pitfalls, dependency injection, OAuth2, SignalR, and Semantic Kernel.
-
API gateways, OAuth, and performance
DotNetNews Issue #5
Issue 5 covers Ocelot, OpenIddict, FusionCache, Bogus test data, .NET 9 Swagger UI, GC costs, and Server-Sent Events.