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

    About x Unit. 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. xUnit.net …

  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 later), showing …

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

    What's New in v3? 2025 August 14 This guide aims to be a comprehensive list of the new features added to v3, written for existing developers who are using v2. In addition to this new features …

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

    The xUnit.net integration with Microsoft Testing Platform comes at three levels: You can replace the default xUnit.net command line experience with the Microsoft Testing Platform command line …

  5. Sharing Context between Tests - xUnit.net

    Sharing Context between Tests 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 …

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

    Enabling code coverage With xUnit.net v3 and MTP, there is a solution for code coverage that's supported directly by Microsoft. One of the big new features for MTP is for the ability of developers to …

  7. Running Tests in Parallel - xUnit.net

    Running Tests in Parallel Background Running unit tests in parallel is a new feature in xUnit.net version 2. There are two essential motivations that drove us to not only enable parallelization, but also for it …

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

    Config with xunit.runner.json 2025 July 30 Configuration files can be used to configure xUnit.net on a per test-assembly basis.

  9. Config with RunSettings (VSTest) [2025 July 30] | xUnit.net

    Learn how to configure xUnit.net tests using RunSettings in Visual Studio Test Explorer and command line tools.

  10. Capturing Output - xUnit.net

    Capturing Output In order to assist in debugging failing test (especially when running them on remote machines without access to a debugger), it can often be helpful to add diagnostic output that is …