fluent-asserts v2.0.0-beta.1 Released
Bogdan Szabo
contact at szabobogdan.com
Thu Dec 25 15:57:10 UTC 2025
Hey everyone!
I want to announce that over the past few weeks, I have focused
on upgrading the fluent-asserts library. I addressed all the
issues raised on GitHub and added features I had wanted for a
while but lacked the bandwidth to implement.
If you want to give it a try and find any issues, please let me
know so that I can fix them before the final stable release.
#### New key features in v2
- *Multiple output formats* - Verbose (human-friendly), TAP
(CI/CD), and Compact (AI-optimized)
- *Assertion statistics* - Track pass/fail counts across your
test suite
- *Memory allocation testing* - Verify code is @nogc compliant
with .allocateGCMemory() assertions
- *Zero overhead in release builds* - Like D's built-in assert,
becomes a complete no-op
#### Links
Documentation: https://fluentasserts.szabobogdan.com
GitHub: https://github.com/gedaiu/fluent-asserts
DUB: https://code.dlang.org/packages/fluent-asserts
#### Upgrading from v1
Most users won't need to change anything. If you use internal
APIs or custom serializers, see the upgrade guide. Feedback and
contributions welcome!
More information about the Digitalmars-d-announce
mailing list