fluent-asserts released

qznc via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Apr 11 03:40:53 PDT 2017


On Sunday, 9 April 2017 at 13:30:54 UTC, Szabo Bogdan wrote:
> Hi!
>
> I just made an update to my fluent assert library. This is a 
> library that allows you to write asserts in a BDD style.
>
> Right now, it contains only asserts that I needed in my 
> projects and I promise that I will add more in the future.
>
> I would really appreciate any feedback that you can give me.
>
> https://code.dlang.org/packages/fluent-asserts
>
> Thanks!

I was looking for testing exceptions. It is not documented, but 
the seems to be there. Still, it looks weird, because it does not 
fit the style:

     should.not.throwAnyException({
       throw new Exception("test");
     });


More information about the Digitalmars-d-announce mailing list