Named unittests

tcak via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 31 04:39:01 PDT 2015


On Monday, 30 March 2015 at 21:57:33 UTC, Andrei Alexandrescu 
wrote:
> On 3/30/15 2:55 PM, Panke wrote:
>> I've implemented this in a library and I'm sure others have as 
>> well. Are
>> you sure, you want a language solution?
>
> With attributes? That might be palatable but only as a standard 
> solution. I'd want to add that to Phobos. -- Andrei

The "unittest" is a language thing. Why would name support be put 
into library I don't get it.

unittest{}  => Unnamed

unittest!"Testing new classes" {}  => Named (Explained)


More information about the Digitalmars-d mailing list