documentable unittest

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Feb 8 11:29:52 PST 2013


On 2/7/13, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> I'm very happy that this will be part of the upcoming release:
> https://github.com/D-Programming-Language/dmd/pull/1342 (see also
> http://d.puremagic.com/issues/show_bug.cgi?id=2630) allows defining
> unittests that simultaneously work as documentation. This is a great way
> to simultaneously write meaningful tests and good documentation examples.

Btw another related pull request w.r.t. documentation is this one:

https://github.com/D-Programming-Language/dmd/pull/1485

It generates documentation for mixed'in code for template mixins.


More information about the Digitalmars-d mailing list