Named unittests

Panke via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 30 15:01:53 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

In my case: no. I wrote it before UDA and wanted to be able to 
generate testcases at runtime. Used this to register a test case 
for a SAT solver for every instance in a subdirectory etc.


More information about the Digitalmars-d mailing list