New doc page added: Theory Data Attributes
https://xunit.net/docs/getting-started/v3/theory-data-attributes
Live and recent posts from across the Fediverse tagged #unittest, aggregated by home.social.
There is an interesting dichotomy in my life now that I'm retired.
@xunit has always been "the test framework I want to use" and its popularity is secondary. Except, the only thing I use it for now is itself, since it's the only code I write now. So keeping going has, by definition, shifted away from being primarily about the features I want to use in my day job.
When do I just stop? Is there anybody I'd trust with its future? #DotNet #UnitTest #FOSS
{testthat} is great for automatic testing. Here are some tricks for the heavy user: https://blog.r-hub.io/2020/11/18/testthat-utility-belt/ #rstats #testing #unittest #testthat
🧪 I just released unittest-parametrize 1.9.0.
This package helps you make parametrized tests that work with the grain of unittest, but can still be run with pytest.
This release adds new skip/expected_failure features, fixes a bug when using Coverage.py's dynamic contexts, and tidies up error messages and usage docs.
https://github.com/adamchainz/unittest-parametrize/blob/main/CHANGELOG.rst
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.
https://xunit.net/releases/v3/4.0.1
https://xunit.net/releases/analyzers/2.1.0
RE: https://dotnet.social/@xunit/117097353301454220
One week in, and we're sitting at only a single bug so far. That includes 250k downloads of the core framework, 275k downloads of the analyzers, and 750k (!!) downloads of the Visual Studio adapter.
Anybody using Native AOT? How about full test parallelization? #DotNet #CSharp #FSharp #UnitTest #TDD
@vitest killed Jest
As per the [first graph], we can see :
* the number of downloads of Jest are stable
* the number of downloads of Vitest is increasing fastly
The [second graph] shows the relative decline of Jest compared to Vitest
#JS #JavaScript #TS #TypeScript
#Jest #Vitest
#NPM #Node
#TanStack #Stats #Stat #Chart
#Test #Testing #UnitTest #UnitTests #UnitTesting
#Dev #Code
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!
https://xunit.net/releases/v3/4.0.0
https://xunit.net/releases/analyzers/2.0.0
https://xunit.net/releases/visualstudio/4.0.0
🆙 Updated my post on unittest base test cases with a new preferred technique: using a plain class as a container.
https://adamj.eu/tech/2025/05/30/python-unittest-common-tests/
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: https://youtrack.jetbrains.com/issue/RIDER-129745/Microsoft-Testing-Platform-v2-is-broken-in-Rider#focus=Comments-27-14128637.0-0 #DotNet #UnitTest #JetBrainsRider
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.
https://xunit.net/releases/v3/4.0.0-pre.154
https://xunit.net/releases/analyzers/2.0.0-pre.60
https://xunit.net/releases/visualstudio/4.0.0-pre.5
UnitTesterJS: Lightweight Unit Test Runner for Javascript
Runs test functions while keeping track of failures, logging them and to provide a summary. No dependencies, runs in the browser too. Works well with chai.
new in 2.1.0:
- Adds small PromiseStatus helper to inspect the state of promises and avoid some try/catch when testing for rejected promises.
features: https://docs.miamao.de/@main/unittesterjs/?#features-and-configuration
Un moyen de faire tourner des tests unitaires avec des vraies dependences (base de données, etc.) plutôt que des mocks, grâce à des containers légers.
{testthat} is great for automatic testing. Here are some tricks for the heavy user: https://blog.r-hub.io/2020/11/18/testthat-utility-belt/ #rstats #testing #unittest #testthat
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 of @xunit, presumably this weekend. A remarkable amount of stuff arrived over the past few weeks (though thankfully not very many bugs) that I really want to get in. I'd also really like to see whether ttps://github.com/xunit/xunit/pull/3581 can land for 4.0, because more flexible parallelization options has been a long-requested feature. #DotNet #UnitTest #CSharp
I know I'm a geek - but there's a certain degree of satisfaction in having a test made to fail after a refactoring actually fail as expected and then implementing the fix as expected.
And to imagine some people want to offload that satisfaction to a LLM tsk tsk tsk.
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
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!
🔥 A decade-old unit test with an existential crisis set for 2026—because nothing screams foresight like a ticking time bomb in your codebase. 🧨 Meanwhile, Mastodon reminds us that enabling #JavaScript is still a revolutionary act in the web 3.0 era. 💻
https://mastodon.social/@jdm_/116429380667467307 #unitTest #existentialCrisis #web3 #revolution #codingMastodon #HackerNews #ngated
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
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 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.
https://xunit.net/releases/v3/4.0.0-pre.33
https://xunit.net/releases/analyzers/2.0.0-pre.9
https://xunit.net/releases/visualstudio/4.0.0-pre.3