Release fluent-asserts 0.6.0

WebFreak001 via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Jul 3 08:07:48 PDT 2017


On Sunday, 2 July 2017 at 13:34:25 UTC, Szabo Bogdan wrote:
> Hi,
>
> I just made a new release of fluent-asserts:
>
> http://fluentasserts.szabobogdan.com/
> https://code.dlang.org/packages/fluent-asserts
>
> Since my last announcement I improved the library with:
>  - better error messages
>  - better exception api
>  - integration with ranges
>  - new asserts `executionTime` for callable and `containsOnly` 
> for ranges
>  - a new `Assert` utility for those who don't like the BDD 
> style of writing asserts
>
> Any feedback is appreciated.
>
> Thanks,
> Bogdan

Cool!

I just tried it and it is really magic how good unittests can be, 
I love it showing the source code where it went wrong, I guess 
that might be a security risk but if anyone uses asserts in a 
production environment and it's leaking passwords it's their 
fault anyway. I am not really a fan of the a.should.be(b) thing 
but I like the Assert.equals() function, just looks more natural 
and easier to read to me + it is understandable by people who 
can't speak english better.


More information about the Digitalmars-d-announce mailing list