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. https://xunit.net/code-of-conduct
xUnit.net
xUnit.net is a free, open source, community-focused unit testing tool for .NET.
![]()
Currently maintained by @bradwilson@mastodon.social.
What version of Visual Studio are you using with xUnit.net?
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!
https://xunit.net/releases/v3/4.0.0-pre.108
https://xunit.net/releases/analyzers/2.0.0-pre.51
Based on this poll, we will be removing support for Visual Studio 2019 and out-of-support versions of Visual Studio 2022 from `xunit.analyzers` sometime before the final 2.0.0 release.
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.
https://xunit.net/releases/v3/4.0.0-pre.81
https://xunit.net/releases/analyzers/2.0.0-pre.40
https://xunit.net/releases/visualstudio/4.0.0-pre.4
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.
https://xunit.net/releases/v3/4.0.0-pre.128
https://xunit.net/releases/analyzers/2.0.0-pre.56
There will be another prerelease coming this weekend.
Since we like to have prerelease builds stable for a month before declaring them release, please make sure to use the current and upcoming builds to verify, especially with Native AOT.
Thanks!
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: https://github.com/xunit/xunit/discussions/3537
We are considering removing support for Microsoft Testing Platform v1 from the upcoming 4.0 release. Would this be a problem for you?