Pinned
We have posted our new code of conduct, which prohibits any contributions that are created in whole or part with AI or LLMs. This is not limited to code contributions. xunit.net/code-of-cond...
xUnit.net
@xunit.net
xUnit.net is a free, open source, community-focused unit testing tool for .NET. Source is available at https://github.com/xunit/. Currently maintained by https://mastodon.social/@bradwilson.
346 followers1 following152 posts
Pinned
We have posted our new code of conduct, which prohibits any contributions that are created in whole or part with AI or LLMs. This is not limited to code contributions. xunit.net/code-of-cond...
We just shipped Core Framework v3 4.0.2, Analyzers 2.2.0, and VSTest Adapter 4.0.1. This release includes 3 new analyzers, a JSON schema for testconfig.json, and several bug fixes. xunit.net/releases/v3/... xunit.net/releases/ana... xunit.net/releases/vis... #DotNet #CSharp #FSharp #UnitTest #TDD
New doc page added: Theory Data Attributes xunit.net/docs/getting... #DotNet #CSharp #UnitTest #TDD
We just shipped Core Framework v3 4.0.1 and Analyzers 2.1.0. This release includes a new Markdown report and several bug fixes. xunit.net/releases/v3/... xunit.net/releases/ana... #DotNet #CSharp #FSharp #UnitTest #TDD
Are you still using .NET Framework with xUnit.net? If so, what's keeping you there, and when might you stop? (No polls on bsky or we would've done one, like we did on Mastodon.)
We just shipped Core Framework v3 4.0.0, Analyzers 2.0.0, and VS Adapter 4.0.0. This is a major release with many new features. Check the release notes for the details! xunit.net/releases/v3/... xunit.net/releases/ana... xunit.net/releases/vis... #DotNet #CSharp #FSharp #UnitTest #TDD
Good news! Rider 2026.2 has resolved their issues with Microsoft Testing Platform v2 and xUnit.net v3. Check this issue comment for more information: youtrack.jetbrains.com/issue/RIDER-...
We just shipped Core Framework v3 4.0.0-pre.154, Analyzers 2.0.0-pre.60, and VS Adapter 4.0.0-pre.5. This release adds support for full test parallelization and a new analyzer, in addition to bug fixes. xunit.net/releases/v3/... xunit.net/releases/ana... xunit.net/releases/vis...
We just shipped Core Framework v3 4.0.0-pre.128 and Analyzers 2.0.0-pre.56. This release is primarily a bug fix release with a few small features. xunit.net/releases/v3/... xunit.net/releases/ana... #DotNet #CSharp #FSharp #UnitTest #TDD
We just shipped Core Framework v3 4.0.0-pre.108 and Analyzers 2.0.0-pre.51. This release adds new features, new analyzers, and fixed several bugs. We anticipate these being the final prerelease builds of this cycle. Please test thoroughly! xunit.net/releases/v3/... xunit.net/releases/ana...
We just shipped Core Framework v3 4.0.0-pre.81, Analyzers 2.0.0-pre.40, and VS Adapter 4.0.0-pre.4. This release adds several new analyzers and fixes many bugs, especially related to Native AOT support. xunit.net/releases/v3/... xunit.net/releases/ana... xunit.net/releases/vis... #DotNet #CSharp
Do you write custom TraitAttribute-derived attributes? Do you think they'd be useful in the core framework? If so, chime in with your suggestions here: github.com/xunit/xunit/... #DotNet #UnitTest #CSharp
Time for another poll! We'd like to know which version of Visual Studio you're using with xUnit.net. dotnet.social/@xunit/11635...
We just shipped Core Framework v3 4.0.0-pre.33, Analyzers 2.0.0-pre.9, and VS Adapter 4.0.0-pre.3. This prerelease build adds support for Native AOT, in addition to bug fixes. xunit.net/releases/v3/... xunit.net/releases/ana... xunit.net/releases/vis... #DotNet #CSharp #FSharp #UnitTest #TDD
There is a poll up on your Mastodon account about deprecating MTP v2 in the upcoming 4.0 release. Since there is no poll feature on Bluesky, we'll just link to the Mastodon post and you can vote there. dotnet.social/@xunit/11629...
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/...
The prerelease packages lists shown on our homepage are currently showing the latest release version instead. We have an open issue with shields.io to hopefully get that resolved: github.com/badges/shiel... Clicking through will still show you the latest prerelease package (a login is required).
We just shipped Core Framework v3 3.2.2 and Analyzers 1.27.0. This includes new templates which default to Microsoft Testing Platform v2 and a new Native AOT compatible assertions package (plus bug fixes). xunit.net/releases/v3/... xunit.net/releases/ana... #DotNet #CSharp #FSharp #UnitTest #TDD
An update on getting native AOT console runners (to help compensate for deprecating Mono on non-Windows OSes) mastodon.social/@bradwilson/...
New doc page: Using Microsoft.Testing.Platform with xUnit.net v2. xunit.net/docs/getting... #DotNet #UnitTest
Youssef (of the Microsoft TestFx team) is working on a personal project to add support for Microsoft.Testing.Platform to v2 projects, for those are not yet able to migrate to v3. github.com/Youssef1313/... #DotNet #UnitTest
Is there interest in us shipping ready-made binaries of xunit.v3.runner.console (via the xunit.v3.runner.console NuGet package) that target .NET instead of .NET Framework? Which runtime IDs would you need to be supported? learn.microsoft.com/en-us/dotnet... #DotNet #UnitTest
Note: This is just the start of Native AOT support. This does not mean xUnit.net supports Native AOT yet; a lot more work has to go into the core framework before that will be the case.
We just celebrated our 40th GitHub Sponsor! Many thanks to the community for keeping the caffeine flowing for @bradwilson.dev 😄
We just shipped Core Framework v3 3.2.1 and Analyzers 1.26.0. This is primarily a bug fix release. Check the release notes for more information. xunit.net/releases/v3/... xunit.net/releases/ana... #DotNet #CSharp #FSharp #UnitTest #TDD
We are updating the xUnit.net projects today to use .NET 10 SDK. If you want to pull the source and build, you will need the new SDK installed. dotnet.microsoft.com/download We will be updating the documentation shortly for changes to Microsoft Testing Platform when using .NET 10 SDK.
If you are using a test case orderer today (implementing `ITestCaseOrderer`), take a peek at this issue that wants to introduce `ITestClassOrderer` and `ITestMethodOrderer` and the impact it has on developers using test case orderers today. Feedback welcome! github.com/xunit/xunit/...
We just shipped Core Framework v3 3.2.0 and Analyzers 1.25.0. This includes optional support for Microsoft Testing Platform v2. Check the release notes for more information. xunit.net/releases/v3/... xunit.net/releases/ana... #DotNet #CSharp #FSharp #UnitTest #TDD
Microsoft.Testing.Platform v2 support is now available in a prerelease CI build. Note that we will continue to support v1 by default; you must opt into v2. More information: github.com/xunit/xunit/... #DotNet #MicrosoftTestingPlatform
Just a reminder that we have delayed plans to support MTP v2. Any attempt to use any parts of MTP v2 with xUnit.net v3 will result in failure due to incompatibilities.