#xunit
TUnitMigrator: A .NET tool that migrates test projects from MSTest, NUnit, xUnit, and xUnit v3 to TUnit.

github.com/SimonCropp/T...

#tunit #dotnet
GitHub - SimonCropp/TUnitMigrator: A .NET global tool that migrates test projects from MSTest, NUnit, xUnit, and xUnit v3 to TUnit.
A .NET global tool that migrates test projects from MSTest, NUnit, xUnit, and xUnit v3 to TUnit. - SimonCropp/TUnitMigrator
github.com
February 18, 2026 at 10:07 PM
Blogged: Converting an xUnit test project to TUnit

andrewlock.net/converting-a...

In this post I discuss the new TUnit testing framework, why I ported one of my libraries to use it instead of xUnit and related issues I had to deal with

#dotnet #testing
Converting an xUnit test project to TUnit
In this post I discuss the new TUnit testing framework, why I ported one of my libraries to use it instead of xUnit and related issues I had to deal with
andrewlock.net
August 19, 2025 at 6:00 PM
Just playing with @martindotnet.bsky.social's dotnet-xunit-otel library! My local #dotnet Aspire dashboard is now showing traces from my integration tests! VERY NICE! Thanks Martin! 😊👏

github.com/practical-ot...
GitHub - practical-otel/dotnet-xunit-otel: An xUnit test framework that wraps tests in a trace to provide better visualisation of the test flows
An xUnit test framework that wraps tests in a trace to provide better visualisation of the test flows - practical-otel/dotnet-xunit-otel
github.com
April 25, 2025 at 4:43 PM
An early Christmas present 🎅 - my NuGet package to route #dotnet logs to the output for @xunit.net now supports xunit v3. See the release notes for how to swap over: github.com/martincostel...
Release v0.5.0 · martincostello/xunit-logging
Add support for xunit v3 🆕✨ Xunit v3 contains many major architectural changes which means the same package that supports logging for xunit v2 cannot be used with xunit v3. The equivalent NuGet pac...
github.com
December 20, 2024 at 10:56 AM
Do you think it's weird that v3 test projects are stand-alone executables? You're not alone. Here is a brief history behind the decision.

github.com/xunit/xunit/...

#DotNet #UnitTest #MicrosoftTestingPlatform
January 24, 2025 at 4:46 AM
Welcome to the new home for xUnit.net on BlueSky! We thank you for joining us. 😀

Home page: xunit.net

Source code: github.com/xunit

#introduction #DotNet #CSharp #FSharp #UnitTest #TDD
Home
Documentation site for the xUnit.net unit testing framework
xUnit.net
December 2, 2024 at 3:32 AM
Got compiler logs migrated over to xUnit v3 today. Overall pretty straight forward.

github.com/jaredpar/com...
Move to xUnit v3 by jaredpar · Pull Request #191 · jaredpar/complog
Overall this was pretty straight forward after reading through the migration guide. Biggest chunk of work was fixing up the xUnit1051 violations around CancellationToken but that was mostly mechani...
github.com
December 19, 2024 at 5:19 AM
Finally, after nearly 4 months, I've finally got the Aspire Community Toolkit upgrades to @xunit.net 3! github.com/CommunityToo...
xUnit v3 upgrade by aaronpowell · Pull Request #960 · CommunityToolkit/Aspire
Upgrading the tests to use xUnit v3, which is what is used by aspire now too. Close #961
github.com
March 5, 2026 at 10:59 AM
Until now, github.com/xunit/assert... has been shared between v2 and v3.

Starting today, this repository will become v3 only, and the supported target frameworks and C# language will be updated to be aligned with that.

We're adding a v2 branch for people who need to stick there. #DotNet #UnitTest
GitHub - xunit/assert.xunit: xUnit.net assertion library for sub-module purposes (please open issues in https://github.com/xunit/xunit)
xUnit.net assertion library for sub-module purposes (please open issues in https://github.com/xunit/xunit) - GitHub - xunit/assert.xunit: xUnit.net assertion library for sub-module purposes (pleas...
github.com
January 18, 2025 at 6:48 PM
We are considering changing some of the options for the ways tests run in parallel against one another. Please read this and add your thoughts. Thanks!

github.com/xunit/xunit/...

#DotNet #UnitTest
Looking for suggestions on improving parallelism · xunit xunit · Discussion #3164
We have two open issues right now related to how tests run in parallel: #1986 #2055 As I work through what the options for parallelism should be, I'm thinking maybe trying to set up a strict list o...
github.com
February 10, 2025 at 4:49 AM
November 14, 2024 at 8:00 PM
I prefer NUnit to xUnit, because xUnit names its attribute "[Fact]", and that's too fucking pretentious.
August 27, 2026 at 7:15 PM
We'd like to get some feedback on a change coming in 2.0.0 for Assert.Equal displays when doing collection comparisons. We've already made a change to make string comparisons better, but should we do it for all collection values?

github.com/xunit/xunit/...

#DotNet #UnitTest
Should we change the way collections are displayed in Assert.Equal? · xunit xunit · Discussion #3163
Given this example unit test: using Xunit; namespace Empty; public class UnitTest { [Fact] public void Test1() => Assert.Equal([1, 2, 3], [1, 2, 5]); [Fact] public void Test2() => Assert.Equal(["He...
github.com
February 9, 2025 at 9:21 PM
If you do, converting an xunit project to TUnit is really slick: andrewlock.net/converting-a...
Converting an xUnit test project to TUnit
In this post I discuss the new TUnit testing framework, why I ported one of my libraries to use it instead of xUnit and related issues I had to deal with
andrewlock.net
November 24, 2025 at 8:52 PM
We marked the v2 packages as deprecated in NuGet as they will only be updated if we find security issues or catastrophic bugs, and to let people know that all new work is happening in the v3 packages.

Has this caused any undue grief to your teams? Chime in here: github.com/xunit/xunit/...
Reconsider NuGet deprecation flag for xUnit.net v2 · Issue #3486 · xunit/xunit
Hi xUnit maintainers, I'm raising this to ask whether you'd consider removing the NuGet deprecated flag from the xunit v2 package (or, if removal isn't feasible, revising the NuGet deprecation mess...
github.com
February 8, 2026 at 5:50 PM
given the xunit package has been deprecated . I will be doing the same for Verify.Xunit

if this is a problem for anyone please reach out

www.nuget.org/packages/xunit

xunit.net/docs/getting...
xunit 2.9.3
xUnit.net is a developer testing framework, built to support Test Driven Development, with a design goal of extreme simplicity and alignment with framework features. Installing this package installs ...
www.nuget.org
February 9, 2026 at 10:43 PM
running the tests in freeq this was the xunit original github.com/limadelic/el...
September 22, 2026 at 7:21 PM
Still on xUnit v2? You're missing out. ⚡

xUnit v3 supports TestContext.Current.CancellationToken and assembly-level logging attributes.

Upgrade in minutes, reduce boilerplate, get clearer integration test results.
November 6, 2025 at 9:05 AM
it's github.com/bbepis/XUnit... under the covers, for the configuration files
GitHub - bbepis/XUnity.AutoTranslator
Contribute to bbepis/XUnity.AutoTranslator development by creating an account on GitHub.
github.com
March 25, 2025 at 8:47 PM
We're merging in the changes for a Native AOT compatible assertion library, because these files are frequently touched. The separation process makes them hard to merge over time.

Attached are lists of files added/changed in xunit/xunit and xunit/assert.xunit.
December 11, 2025 at 2:36 AM
Xunit is also good.
January 27, 2025 at 8:59 PM
ご飯とか済ませたら、xUnitを試してみようという、きもち。
July 24, 2024 at 10:31 AM
We've just released FluentAssertions 7.1 with XUnit 3 and TUnit support, and versions of FluentAssertions.Json and FluentAssertions.DataSets compatible with FluentAssertions 8.0.
January 17, 2025 at 1:33 PM