Ah, simple solution to unittests inside templates
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Sun Sep 18 07:58:52 PDT 2016
On 09/18/2016 09:01 AM, John Colvin wrote:
> What would be really good would be to have a way to make ddoc associate
> a unittest with a particular symbol, regardless of location.
Though there are many ways in which we could be better, I really think
we're good.
> See e.g. https://github.com/dlang/phobos/pull/4043 where I have to pull
> all the unittests out of the template in order to get the win 32 tester
> to pass (fails saying "too many symbols" otherwise), but that ruins the
> documentation.
Would the Awesome thing work?
Andrei
More information about the Digitalmars-d
mailing list