Let's bikeshed std.experimental.testing assertions/checks/whatchamacallits

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 1 06:45:34 PDT 2015


On Wednesday, 1 July 2015 at 08:21:28 UTC, Atila Neves wrote:
> Well, there's a PR for improving assertions here: 
> https://github.com/D-Programming-Language/dmd/pull/1426

Sadly, this does not really fix the issue in the long term. Using 
assertions in tests prevents building non-fatal test runners 
because by spec AssertError is non-recoverable. That is quite a 
serious limitation.

To really fix it, this information needs to be available in 
library code.


More information about the Digitalmars-d mailing list