About 10,100 results
Open links in new tab
  1. Home | xUnit.net

    xUnit.net is a free, open source, community-focused unit testing tool for C#, F#, and Visual Basic. xUnit.net v3 supports .NET 8.0 or later, and .NET Framework 4.7.2 or later.

  2. Getting Started with xUnit.net v3

    Getting Started with xUnit.net v3 2025 August 13 In this document, we will demonstrate getting started with xUnit.net v3 when targeting .NET 8 (or later) and/or .NET Framework 4.7.2 (or …

  3. Getting Started with xUnit.net v2

    Getting Started with xUnit.net v2 2025 July 4 In this document, we will demonstrate getting started with xUnit.net v2 when targeting .NET 8 (or later) and/or .NET Framework 4.7.2 (or later), …

  4. Microsoft Testing Platform [2025 November 2] | xUnit.net

    Unlike our support for VSTest, our support for Microsoft Testing Platform is built natively into xUnit.net v3. If you want to rely solely on Microsoft Testing Platform support, you can remove …

  5. What's New in v3? [2025 August 14] | xUnit.net

    This design was done so that third party assertion libraries did not need to create any hard dependencies on xUnit.net, as most are designed to be cross-test framework. When …

  6. Core Framework v3 1.0.0 [2024 December 16] | xUnit.net

    We have shipped several prerelease versions over the last 6 months, and accumulated a good amount of documentation for both users who are migrating from Core Framework v2 as well …

  7. Sharing Context between Tests - xUnit.net

    It is common for unit test classes to share setup and cleanup code (often called "test context"). xUnit.net offers several methods for sharing this setup and cleanup code, depending on the …

  8. Migrating Unit Tests from v2 to v3 [2025 April 12] | xUnit.net

    The two previous libraries (xunit.runner.reporters and xunit.runner.utility) were merged into a single library (xunit.v3.runner.utility). Most of the types in this library have retained the Xunit …

  9. Config with xunit.runner.json [2025 July 30] | xUnit.net

    The current schema is online at https://xunit.net/schema/current/xunit.runner.schema.json, which can be set in the JSON file to aid with intellisense from development IDEs like Visual Studio …

  10. Code Coverage with MTP [2025 May 2] | xUnit.net

    With the new Microsoft Testing Platform support (MTP) in xUnit.net v3, getting code coverage has changed when running with MTP. This document discusses how to enable code coverage for …