www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - fluent-asserts v2.0.0-beta.1 Released

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.



- *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



Documentation: https://fluentasserts.szabobogdan.com
GitHub: https://github.com/gedaiu/fluent-asserts
DUB: https://code.dlang.org/packages/fluent-asserts



Most users won't need to change anything. If you use internal 
APIs or custom serializers, see the upgrade guide. Feedback and 
contributions welcome!
Dec 25 2025