testing

C# and .NET Unit Testing Articles, Tutorials & News

C# and .NET Unit Testing articles, tutorials, and news from the DotNetNews archive.

128 articles Updated

C# and .NET Unit Testing work shows up across many DotNetNews issues because teams keep hitting the same implementation questions. C# and .NET Unit Testing is the verification side of C# delivery, from unit suites to the habits that keep regressions cheap.

Recurring subtopics in recent issues include C# unit testing, .NET unit tests, mocking C#, and test doubles .NET. When a subtopic never appears in the archive titles or excerpts, it is left out of this introduction.

Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for C# and .NET Unit Testing; the archive list is chronological and larger. Secondary angles such as C# unit testing and .NET unit tests appear when the archive actually covered them. Cross-links to xUnit for C# and .NET and Test-Driven Development in C# help when the problem spans more than one tag.

Start here

Editor picks for Unit Testing

  1. How to Implement Unit Testing in .NET using xUnit with Example

    c-sharpcorner.com Issue #439

    A practical xUnit primer that fits newer .NET developers and teams trying to build better testing habits before bugs escape into production.

    Read article Issue #439

  2. ASP.NET Community Standup - Vibe coding a C# MCP server

    youtube.com Issue #292

    The ASP.NET Community Standup on vibe coding a C# MCP server is a good snapshot of where the platform is headed.

    Read article Issue #292

  3. Types of Unit Tests in C# — Master Testing Like a Pro

    medium.com Issue #289

    A thorough unit-testing guide covering mocks, async tests, and property-based testing.

    Read article Issue #289

  4. Life Tracker — A .NET App 3: NUnit testing

    jackymlui.medium.com Issue #273

    The NUnit testing entry is a nice nod to the testing side of app development, even if it's more personal than prescriptive.

    Read article Issue #273

  5. Cracking the Code of Unit Testing in .NET

    c-sharpcorner.com Issue #237

    Unit testing in .NET gets a familiar but valuable treatment for anyone trying to write more reliable code.

    Read article Issue #237

  6. The Critical Importance of Unit Testing for APIs in C#.NET Development

    medium.com Issue #177

    Strong case for API unit tests here; reliability still starts with fast feedback.

    Read article Issue #177

  7. Comprehensive Guide to Unit Testing with MSTest in C#

    csharp.com Issue #156

    https://www.csharp.com/article/comprehensive-guide-to-unit-testing-with-mstest-in-c-sharp/.

    Read article Issue #156

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

    Read article Issue #495

Archive

Page 1 of 6

Newest first