Named unittests

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 1 07:07:12 PDT 2015


On 2015-04-01 00:02, Idan Arye wrote:

> I think you and I work under different assumptions of the goals for this
> feature. If we only want unittest names to be something that can be
> printed when the unittest runner runs the unittests, than a UDA with a
> string is indeed preferable. If we want something that tools can
> actually use to refer to a specific unittest, we need a proper
> identifier(yes, even though it can be implemented in library code
> because D is Turing-complete...)

The tools should, mostly, use the file and line information.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list