Pijamas, a simple fluent assertation library (forked from Pyjamas)

Mario Kröplin linkrope at github.com
Fri May 15 16:00:28 UTC 2020


.empty and .throw are not that difficult:
see https://code.dlang.org/packages/dshould

On Friday, 15 May 2020 at 12:35:27 UTC, Luis wrote:
> On my TODOs list for v0.3 I have :
>
> * Rename module to pijamas
> * Add .empty that it's equivalent to .length(0)
> * Handle range.should.be.equal([1, 2, 3])
> * Test if a .instanceOf could be posible
> * See if (throwing expression).should.Throw!Exception could be 
> done, and avoid passing a pointer to a function like actually 
> does. In other words, work like 
> assertThorow!Exception(expression)
> * Try to hide Assertation class (Volvemort class perhaps?) and 
> get out the public methods to avoid Assertation spaming on 
> autogenerated documentation.




More information about the Digitalmars-d-announce mailing list