Named unittests
Idan Arye via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 1 11:49:58 PDT 2015
On Wednesday, 1 April 2015 at 14:07:14 UTC, Jacob Carlborg wrote:
> 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.
So now we just need a way to keep a line number unmodified when
you add lines above it...
More information about the Digitalmars-d
mailing list