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.
If you want to help, feel free to hop on the Phobos documentation and
convert some of it to use the new feature.
Thanks,
Andrei
- documentable unittest Andrei Alexandrescu
-