testing
Test-Driven Development in C# Articles, Tutorials & News
Test-Driven Development in C# articles, tutorials, and news from the DotNetNews archive.
18 articles Updated
This DotNetNews topic collects TDD C# material from the daily archive. Test-Driven Development in C# is the verification side of C# delivery, from unit suites to the habits that keep regressions cheap. The page is for people who already ship C# and need a faster way to find relevant posts.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for Test-Driven Development in C#; the archive list is chronological and larger. Nothing here claims every article was production-tested by the editors.
Recurring subtopics in recent issues include TDD C#, test-driven development .NET, red green refactor C#, and TDD unit testing. Secondary angles such as TDD C# and test-driven development .NET appear when the archive actually covered them. Related hubs such as C# and .NET Unit Testing and xUnit for C# and .NET cover adjacent problems.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
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
Covers TDD in .NET: Anti-Patterns & When NOT to Use TDD.
-
TDD in .NET: Practicing TDD in a Web API Project
medium.com Issue #360
Covers TDD in .NET: Practicing TDD in a Web API Project.
-
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.
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.