Is it possible to obtain textual representation of an arbitary code?
Oleksii Skidan
al.skidan at gmail.com
Fri Jan 26 14:31:05 UTC 2018
On Friday, 26 January 2018 at 13:25:12 UTC, Seb wrote:
> On Friday, 26 January 2018 at 13:05:26 UTC, Jonathan M Davis
> wrote:
>> If you don't think that simply using assertions for unit tests
>> is good enough, then I'd suggest that you look at
>> https://code.dlang.org/packages/unit-threaded
>
> There's also https://code.dlang.org/packages/fluent-asserts
> which shows detailed error messages.
Thanks,
That one look great! I like how it prints the source code of the
test, so that you have the context within which the test failed.
More information about the Digitalmars-d-learn
mailing list