fluent-asserts released
Szabo Bogdan via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Apr 11 23:01:22 PDT 2017
On Tuesday, 11 April 2017 at 10:40:53 UTC, qznc wrote:
> 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");
> });
what do you mean, they are not documented? there is a md file
fith some examples here:
https://github.com/gedaiu/fluent-asserts/blob/v0.3.0/api/exceptions.md
What do you think I can do to have the exception asserts to fit
the style?
More information about the Digitalmars-d-announce
mailing list