Named unittests

Brian Schott via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 30 15:09:32 PDT 2015


On Monday, 30 March 2015 at 21:58:13 UTC, Dicebot wrote:
> I'd prefer putting alternative test runner into Phobos instead 
> which will support `@name("Something") unittest { }`

I agree that an annotation (Probably defined in object.d) is the 
best way to handle this.

Here's something I don't think many people know: You can't use 
`~` in deprecated() attributes. You can only put a string literal 
in the parenthesis. If you want to break messages over multiple 
lines you need to rely on implicit string concatenation.


More information about the Digitalmars-d mailing list